remove redundant casts

This commit is contained in:
chill committed 2023-05-16 17:28:46 +02:00
1 parent 9c6c339213
commit e7bf60e1d2
1 file changed
+3 -3
@@ -606,7 +606,7 @@ public class GlStateManager {
}
public static void glTexCoordPointer(int size, int type, int stride, int buffer_offset) {
GL11.glTexCoordPointer(size, type, stride, (long) buffer_offset);
GL11.glTexCoordPointer(size, type, stride, buffer_offset);
}
public static void glTexCoordPointer(int size, int type, int stride, ByteBuffer buffer) {
@@ -614,7 +614,7 @@ public class GlStateManager {
}
public static void glVertexPointer(int size, int type, int stride, int buffer_offset) {
GL11.glVertexPointer(size, type, stride, (long) buffer_offset);
GL11.glVertexPointer(size, type, stride, buffer_offset);
}
public static void glVertexPointer(int size, int type, int stride, ByteBuffer buffer) {
@@ -622,7 +622,7 @@ public class GlStateManager {
}
public static void glColorPointer(int size, int type, int stride, int buffer_offset) {
GL11.glColorPointer(size, type, stride, (long) buffer_offset);
GL11.glColorPointer(size, type, stride, buffer_offset);
}
public static void glColorPointer(int size, int type, int stride, ByteBuffer buffer) {