mirror of
https://github.com/GTNewHorizons/BetterP2P.git
synced 2026-11-19 11:49:16 +00:00
remove redundant casts
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user