mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-28 07:55:53 +00:00
Add missing overload (#1495)
This commit is contained in:
1 parent
4b46de4566
commit
c5c4b290b1
1 file changed
+4
@@ -2323,6 +2323,10 @@ public class GLStateManager {
|
||||
GL20.glVertexAttribPointer(index, size, type, normalized, stride, offset);
|
||||
}
|
||||
|
||||
public static void glVertexAttribPointer(int index, int size, boolean normalized, int stride, FloatBuffer pointer) {
|
||||
glVertexAttribPointer(index, size, GL11.GL_FLOAT, normalized, stride, pointer);
|
||||
}
|
||||
|
||||
public static void glVertexAttribPointer(int index, int size, int type, boolean normalized, int stride, FloatBuffer pointer) {
|
||||
final ByteBuffer bb = MemoryUtilities.memByteBuffer(pointer);
|
||||
VertexAttribState.set(index, size, type, normalized, stride, bb, boundVBO);
|
||||
|
||||
Reference in new issue
Block a user