Browse Source

fixed setRenderZone for main buffer (no y flip anymore)

ncannasse 6 years ago
parent
commit
3699896663
1 changed files with 0 additions and 2 deletions
  1. 0 2
      h3d/impl/GlDriver.hx

+ 0 - 2
h3d/impl/GlDriver.hx

@@ -1383,8 +1383,6 @@ class GlDriver extends Driver {
 			gl.disable(GL.SCISSOR_TEST);
 		else {
 			gl.enable(GL.SCISSOR_TEST);
-			if( curTarget == null )
-				y = bufferHeight - (y + height);
 			gl.scissor(x, y, width, height);
 		}
 	}