removed TODO

git-svn-id: svn://anubis/anaglym/trunk@198 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
Josh Holtrop 2009-12-05 21:54:42 +00:00
parent b546ea74dd
commit 7ab0cadeb2

View File

@ -614,8 +614,9 @@ void Engine::drawImage(float width, float height, float x, float y,
int tex, float rot)
{
checkGLError();
/* TODO: check following flags */
glPushAttrib(GL_ENABLE_BIT | GL_TEXTURE_BIT | GL_LIGHTING_BIT);
glPushAttrib(GL_ENABLE_BIT /* for enablings */
| GL_TEXTURE_BIT /* texture bindings and env. mode */
| GL_COLOR_BUFFER_BIT); /* blend src. and dst. equations */
glPushMatrix();
glTranslatef(x, y, 0);
glRotatef(rot, 0, 0, 1);