Explorar o código

fixed setRenderZone for main buffer (no y flip anymore)

ncannasse %!s(int64=6) %!d(string=hai) anos
pai
achega
3699896663
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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);
 		}
 	}