~ | Small tweaks

This commit is contained in:
TheRedShip
2025-02-01 14:56:45 +01:00
parent 3e122a972e
commit 0b930fe394
9 changed files with 59 additions and 20 deletions

View File

@ -142,6 +142,7 @@ int main(int argc, char **argv)
shader.set_textures(scene.getTextureIDs());
glDispatchCompute((WIDTH + 15) / 16, (HEIGHT + 15) / 16, 1);
glMemoryBarrier(GL_SHADER_IMAGE_ACCESS_BARRIER_BIT);
glClear(GL_COLOR_BUFFER_BIT);