GosuImpl/Graphics/RenderState.hpp in gosu-0.7.50 vs GosuImpl/Graphics/RenderState.hpp in gosu-0.8.0.pre1
- old
+ new
@@ -56,11 +56,11 @@
glScissor(clipRect.x, clipRect.y, clipRect.width, clipRect.height);
}
}
// Only used by Macro so far
- #ifndef GOSU_IS_IPHONE
+ #ifndef GOSU_IS_OPENGLES
void apply() const
{
applyTexture();
// TODO: No inner clipRect yet - how would this work?!
applyAlphaMode();
@@ -79,10 +79,10 @@
void applyTransform() const
{
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
- #ifndef GOSU_IS_IPHONE
+ #ifndef GOSU_IS_OPENGLES
glMultMatrixd(&(*transform)[0]);
#else
// TODO: Ouch, should always use floats!
GLfloat matrix[16];
for (int i = 0; i < 16; ++i)
\ No newline at end of file