mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Cleaned up some shader code.
--HG-- branch : minor
This commit is contained in:
@@ -308,7 +308,7 @@ int w_Shader_send(lua_State *L)
|
||||
// Texture (Image or Canvas).
|
||||
p = (Proxy *) lua_touserdata(L, 3);
|
||||
|
||||
if (typeFlags[p->type][GRAPHICS_TEXT_ID])
|
||||
if (typeFlags[p->type][GRAPHICS_TEXTURE_ID])
|
||||
return w_Shader_sendTexture(L);
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user