Skip to content

Commit

Permalink
disable depth test to reduce flickering
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperlogic committed Apr 9, 2024
1 parent 29ec5ee commit c7ea429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ static void Clear(glm::ivec2 windowSize, bool setViewport = true)
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

// NOTE: if depth buffer has less then 24 bits, it can mess up splat rendering.
glEnable(GL_DEPTH_TEST);
//glEnable(GL_DEPTH_TEST);

#ifndef __ANDROID__
// AJT: ANDROID: TODO: implement this in fragment shader, for OpenGLES I guess.
Expand Down

0 comments on commit c7ea429

Please sign in to comment.