summaryrefslogtreecommitdiff
path: root/lib/texture.cc
diff options
context:
space:
mode:
authorpixel <pixel>2003-04-14 15:51:42 +0000
committerpixel <pixel>2003-04-14 15:51:42 +0000
commite318be8501559a9e53aa9990bf7e07b00c00ee51 (patch)
treee2df61a572721612437ce6fa81cabc06408a4ed8 /lib/texture.cc
parentebc6bb16f895b7c192b9f4c42d1fc4feb41e271c (diff)
Shapes fixed
Diffstat (limited to 'lib/texture.cc')
-rw-r--r--lib/texture.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/texture.cc b/lib/texture.cc
index bea33a4..43c8ac3 100644
--- a/lib/texture.cc
+++ b/lib/texture.cc
@@ -205,9 +205,6 @@ void mogltk::texture::Bind(bool expand) {
glEnable(GL_TEXTURE_2D);
if (active == this)
return;
-#ifdef DEBUG
- printm(M_INFO, _("Binding texture index %i.\n"), tex);
-#endif
glBindTexture(GL_TEXTURE_2D, tex);
if (expand) {
glMatrixMode(GL_TEXTURE);
@@ -252,9 +249,6 @@ void mogltk::texture::Unbind(void) {
glBindTexture(GL_TEXTURE_2D, 0);
glDisable(GL_TEXTURE_2D);
active = 0;
-#ifdef DEBUG
- printm(M_INFO, _("Unbinding texture.\n"));
-#endif
}
}