v0.4.2: removed unnecessary gl_scissor functions
Improves performance on some devices
This commit is contained in:
@@ -179,12 +179,6 @@ public class NoosaScript extends Script {
|
||||
if (camera != lastCamera && camera.matrix != null) {
|
||||
lastCamera = camera;
|
||||
uCamera.valueM4( camera.matrix );
|
||||
|
||||
GLES20.glScissor(
|
||||
camera.x,
|
||||
Game.height - camera.screenHeight - camera.y,
|
||||
camera.screenWidth,
|
||||
camera.screenHeight );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user