Browse files

gl.Texture("$extra") -> gl.Texture("$info")

  • Loading branch information...
1 parent 3b9c03a commit a8199b2315dc575b4360374a1ea3d3a4fae1be4d jK committed May 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 rts/Lua/LuaOpenGL.cpp
View
2 rts/Lua/LuaOpenGL.cpp
@@ -3536,7 +3536,7 @@ int LuaOpenGL::Texture(lua_State* L)
glEnable(GL_TEXTURE_2D);
lua_pushboolean(L, true);
}
- else if (texture == "$extra") {
+ else if (texture == "$info") {
glBindTexture(GL_TEXTURE_2D, readmap->GetGroundDrawer()->infoTex);
glEnable(GL_TEXTURE_2D);
lua_pushboolean(L, true);

0 comments on commit a8199b2

Please sign in to comment.