fix SSBO test
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
This commit is contained in:
parent
e18d06e454
commit
ed29d1ffb3
@ -738,6 +738,8 @@ Fix audio handling bug
|
|||||||
SSBO implementation
|
SSBO implementation
|
||||||
Rearch instanced actor
|
Rearch instanced actor
|
||||||
ParticleService implementation
|
ParticleService implementation
|
||||||
|
Fix SSBO implementation misusing BufferUtils
|
||||||
|
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
|
|
||||||
|
|||||||
@ -74,9 +74,6 @@ public class ShaderStorageBuffer implements UniformBlockBinding {
|
|||||||
//destroy opengl-side buffer
|
//destroy opengl-side buffer
|
||||||
GL45.glDeleteBuffers(id);
|
GL45.glDeleteBuffers(id);
|
||||||
|
|
||||||
//destroy java-side buffer
|
|
||||||
MemoryUtil.memFree(buffer);
|
|
||||||
|
|
||||||
//set the java-side buffer to be null
|
//set the java-side buffer to be null
|
||||||
buffer = null;
|
buffer = null;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user