scissor.height = Math.max(1, maxY - minY);\r
}\r
scissors.add(scissor);\r
- Gdx.gl.glScissor(Math.round(scissor.x), Math.round(scissor.y), Math.round(scissor.width), Math.round(scissor.height));\r
+ Gdx.gl.glScissor((int)scissor.x, (int)scissor.y, (int)scissor.width, (int)scissor.height);\r
return true;\r
}\r
\r
}\r
\r
private static void fix (Rectangle rect) {\r
+ rect.x = Math.round(rect.x);\r
+ rect.y = Math.round(rect.y);\r
+ rect.width = Math.round(rect.width);\r
+ rect.height = Math.round(rect.height);\r
if (rect.width < 0) {\r
rect.width = -rect.width;\r
rect.x -= rect.width;\r