Commits

Anonymous committed 3f82ac1

fixing rotate bug with drawEmbedded

Comments (0)

Files changed (1)

trunk/Slick/src/org/newdawn/slick/Image.java

 		if (corners == null) {
 			GL.glTexCoord2f(tx, ty);
 			GL.glVertex3f(x+x1, y+y1, 0);
-			GL.glTexCoord2f(tx, ty + tw);
+			GL.glTexCoord2f(tx, ty + th);
 			GL.glVertex3f(x+x2, y+y2, 0);
 			GL.glTexCoord2f(tx + tw, ty + th);
 			GL.glVertex3f(x+x3, y+y3, 0);