Pass correct offset to glCopyTexSubImage2D

This commit is contained in:
Federico Bond
2014-10-13 02:48:33 -03:00
parent c7a8b523ec
commit 7c99811e55
@@ -1528,7 +1528,7 @@ public class PLWJGL extends PGL {
}
public void copyTexSubImage2D(int target, int level, int xOffset, int yOffset, int x, int y, int width, int height) {
GL11.glCopyTexSubImage2D(target, level, x, y, xOffset, xOffset, width, height);
GL11.glCopyTexSubImage2D(target, level, x, y, xOffset, yOffset, width, height);
}
public void compressedTexImage2D(int target, int level, int internalFormat, int width, int height, int border, int imageSize, Buffer data) {