Cleaned up some shader code.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2015-03-02 15:18:12 -04:00
parent 3536f2665f
commit 3fea174008
8 changed files with 52 additions and 80 deletions
+1 -1
View File
@@ -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;