Просмотр исходного кода

fixed setRenderZone for main buffer (no y flip anymore)

ncannasse 6 лет назад
Родитель
Сommit
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);
 			gl.disable(GL.SCISSOR_TEST);
 		else {
 		else {
 			gl.enable(GL.SCISSOR_TEST);
 			gl.enable(GL.SCISSOR_TEST);
-			if( curTarget == null )
-				y = bufferHeight - (y + height);
 			gl.scissor(x, y, width, height);
 			gl.scissor(x, y, width, height);
 		}
 		}
 	}
 	}