removed TODO
git-svn-id: svn://anubis/anaglym/trunk@198 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
parent
b546ea74dd
commit
7ab0cadeb2
@ -614,8 +614,9 @@ void Engine::drawImage(float width, float height, float x, float y,
|
|||||||
int tex, float rot)
|
int tex, float rot)
|
||||||
{
|
{
|
||||||
checkGLError();
|
checkGLError();
|
||||||
/* TODO: check following flags */
|
glPushAttrib(GL_ENABLE_BIT /* for enablings */
|
||||||
glPushAttrib(GL_ENABLE_BIT | GL_TEXTURE_BIT | GL_LIGHTING_BIT);
|
| GL_TEXTURE_BIT /* texture bindings and env. mode */
|
||||||
|
| GL_COLOR_BUFFER_BIT); /* blend src. and dst. equations */
|
||||||
glPushMatrix();
|
glPushMatrix();
|
||||||
glTranslatef(x, y, 0);
|
glTranslatef(x, y, 0);
|
||||||
glRotatef(rot, 0, 0, 1);
|
glRotatef(rot, 0, 0, 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user