aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Graphics/Drawable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/Graphics/Drawable.cpp')
-rw-r--r--src/libjin/Graphics/Drawable.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libjin/Graphics/Drawable.cpp b/src/libjin/Graphics/Drawable.cpp
index fec0575..acdb6e1 100644
--- a/src/libjin/Graphics/Drawable.cpp
+++ b/src/libjin/Graphics/Drawable.cpp
@@ -36,8 +36,6 @@ namespace graphics
static jin::math::Matrix t;
t.setTransformation(x, y, r, sx, sy, anchor.x, anchor.y);
- glEnable(GL_TEXTURE_2D);
-
glBindTexture(GL_TEXTURE_2D, texture);
// push modle matrix
@@ -57,8 +55,6 @@ namespace graphics
// bind texture to default screen
glBindTexture(GL_TEXTURE_2D, 0);
-
- glDisable(GL_TEXTURE_2D);
}
} // render