Cleanup
This commit is contained in:
@@ -26,7 +26,7 @@ public class TestJogl {
|
||||
|
||||
GLWindow glWindow = GLWindow.create(caps);
|
||||
|
||||
glWindow.setTitle("jogl-triangle");
|
||||
glWindow.setTitle("jogl-compute-shaders-fireworks");
|
||||
|
||||
glWindow.setSize(800, 800);
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ void main() {
|
||||
|
||||
if (gid < last && last > 0) {
|
||||
if (e[gid].color.a == 0.0) {
|
||||
uint old = atomicCounterDecrement(lastCounter) - 1;
|
||||
uint old = atomicCounterDecrement(lastCounter);
|
||||
|
||||
e[gid].positionVelocity = e[old].positionVelocity;
|
||||
e[gid].color = e[old].color;
|
||||
|
||||
Reference in New Issue
Block a user