summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/saw/main.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/source/saw/main.c b/source/saw/main.c
index 8d26d27..8b29fd4 100644
--- a/source/saw/main.c
+++ b/source/saw/main.c
@@ -3322,13 +3322,7 @@ static void saw_frame(void) {
glViewport(0, 0, frame_width, frame_height);
glClearColor(.11f, .09f, .08f, 1.f);
-#ifdef SOKOL_GLCORE33
- glClearDepth(1.);
-#else
- glClearDepthf(1.f);
-#endif
- glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT |
- GL_STENCIL_BUFFER_BIT);
+ glClear(GL_COLOR_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
// Process input
//