diff options
Diffstat (limited to 'src/libjin/Graphics/Drawable.cpp')
-rw-r--r-- | src/libjin/Graphics/Drawable.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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 |