瀏覽代碼

fixed setRenderZone for main buffer (no y flip anymore)

ncannasse 6 年之前
父節點
當前提交
3699896663
共有 1 個文件被更改,包括 0 次插入2 次删除
  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);
 		}
 	}