aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api/video/itexture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/lua_api/video/itexture.cpp')
-rw-r--r--src/client/lua_api/video/itexture.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/lua_api/video/itexture.cpp b/src/client/lua_api/video/itexture.cpp
index 599a448..42de1bd 100644
--- a/src/client/lua_api/video/itexture.cpp
+++ b/src/client/lua_api/video/itexture.cpp
@@ -16,14 +16,14 @@ extern IrrlichtDevice* device;
extern IVideoDriver* driver;
//newtexture(string name,{image}) -> {texture}
int newitexture(lua_State* L){
- printf("About to create new texture\n");
+ //printf("About to create new texture\n");
lua_getfield(L,-1,"image");//"name",{image},image*
IImage* im = (IImage*) lua_touserdata(L,-1);
lua_pop(L,2);//"name"
const char* name = lua_tostring(L,-1);
lua_pop(L,1);//
- printf("About to create texture\n");
+ //printf("About to create texture\n");
ITexture* tex = driver->addTexture(name,im);
if(!tex){
lua_pushstring(L,"Failed to create texture!");