diff options
author | chai <chaifix@163.com> | 2018-09-08 15:31:43 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-09-08 15:31:43 +0800 |
commit | 5361adf3b8714ca55dedf3a8883fcf143d470ac4 (patch) | |
tree | fc84ce7b79406570af822d5edddae67ff390362d /src/libjin/Graphics/Drawable.cpp | |
parent | 93696c0c85afc21e29c7bd57dc9c577a7d662bba (diff) |
*update
Diffstat (limited to 'src/libjin/Graphics/Drawable.cpp')
-rw-r--r-- | src/libjin/Graphics/Drawable.cpp | 4 |
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 |