From 190346cc0a99c54da873a964634919015cc8a558 Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Fri, 19 Aug 2011 14:02:23 +0000 Subject: [PATCH] fix? git-svn-id: http://svn.net-core.org/repos/t-engine4@4190 51575b47-30f0-44d4-a5cc-537603b46e54 --- src/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map.c b/src/map.c index 0a5d9ea398..57858cf81c 100644 --- a/src/map.c +++ b/src/map.c @@ -430,7 +430,7 @@ static int map_objects_display(lua_State *L) // Now setup a texture to render to GLuint img; CHECKGL(glGenTextures(1, &img)); - tglBindTexture(GL_TEXTURE_2D, img); + tfglBindTexture(GL_TEXTURE_2D, img); CHECKGL(glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, w, h, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL)); CHECKGL(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT)); CHECKGL(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT)); -- GitLab