From 8f23f81908e70db749cbbe7e32e862a911c8753d Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 8 Sep 2018 18:42:22 +0800 Subject: *update --- src/libjin/Graphics/Drawable.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/libjin/Graphics/Drawable.cpp') diff --git a/src/libjin/Graphics/Drawable.cpp b/src/libjin/Graphics/Drawable.cpp index acdb6e1..dc1c8dd 100644 --- a/src/libjin/Graphics/Drawable.cpp +++ b/src/libjin/Graphics/Drawable.cpp @@ -30,7 +30,7 @@ namespace graphics void Drawable::draw(int x, int y, float sx, float sy, float r) { - // Must set textCoord and vertCoord before renderring + /* Must set textCoord and vertCoord before renderring */ if (! textCoord||! vertCoord) return; static jin::math::Matrix t; @@ -38,7 +38,7 @@ namespace graphics glBindTexture(GL_TEXTURE_2D, texture); - // push modle matrix + /* push modle matrix */ glPushMatrix(); glMultMatrixf((const GLfloat*)t.getElements()); @@ -50,14 +50,14 @@ namespace graphics glDisableClientState(GL_TEXTURE_COORD_ARRAY); glDisableClientState(GL_VERTEX_ARRAY); - // pop the model matrix + /* pop the model matrix */ glPopMatrix(); - // bind texture to default screen + /* bind texture to default screen */ glBindTexture(GL_TEXTURE_2D, 0); } } // render } // jin -#endif // LIBJIN_MODULES_RENDER +#endif // LIBJIN_MODULES_RENDER \ No newline at end of file -- cgit v1.1-26-g67d0