force gl finish
This commit is contained in:
@@ -65,6 +65,9 @@ public class VoxyRenderSystem {
|
|||||||
// than timeout, we keep the world acquired
|
// than timeout, we keep the world acquired
|
||||||
world.acquireRef();
|
world.acquireRef();
|
||||||
|
|
||||||
|
//wait for opengl to be finished, this should hopefully ensure all memory allocations are free
|
||||||
|
glFinish();glFinish();
|
||||||
|
|
||||||
//Trigger the shared index buffer loading
|
//Trigger the shared index buffer loading
|
||||||
SharedIndexBuffer.INSTANCE.id();
|
SharedIndexBuffer.INSTANCE.id();
|
||||||
Capabilities.init();//Ensure clinit is called
|
Capabilities.init();//Ensure clinit is called
|
||||||
|
|||||||
Reference in New Issue
Block a user