GosuImpl/Graphics/TexChunk.cpp in gosu-0.7.50 vs GosuImpl/Graphics/TexChunk.cpp in gosu-0.8.0.pre1
- old
+ new
@@ -48,10 +48,10 @@
op.verticesOrBlockIndex = 4;
op.vertices[0] = DrawOp::Vertex(x1, y1, c1);
op.vertices[1] = DrawOp::Vertex(x2, y2, c2);
// TODO: Should be harmonized
-#ifdef GOSU_IS_IPHONE
+#ifdef GOSU_IS_OPENGLES
op.vertices[2] = DrawOp::Vertex(x3, y3, c3);
op.vertices[3] = DrawOp::Vertex(x4, y4, c4);
#else
op.vertices[3] = DrawOp::Vertex(x3, y3, c3);
op.vertices[2] = DrawOp::Vertex(x4, y4, c4);