mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-13 05:54:01 +01:00
Quick fix for create's contraptions
This commit is contained in:
parent
c85effe6ea
commit
fef41658d0
@ -35,6 +35,7 @@ public class IndexedModel extends BufferedModel {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void drawCall() {
|
public void drawCall() {
|
||||||
|
ebo.bind();
|
||||||
GL20.glDrawElements(primitiveMode.glEnum, ebo.elementCount, ebo.eboIndexType.getGlEnum(), 0);
|
GL20.glDrawElements(primitiveMode.glEnum, ebo.elementCount, ebo.eboIndexType.getGlEnum(), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user