mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-12-29 08:26:37 +01:00
Quick fix for create's contraptions
This commit is contained in:
parent
fd0343c48b
commit
a90e6a1f56
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue