summaryrefslogtreecommitdiff
path: root/src/ral/backends/opengl/backend_opengl.c
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-10 02:59:59 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-10 02:59:59 +1000
commitdcb9f65b25e59edb21c9c3cac7b32d70ca19eb72 (patch)
treece99b01a070c57ecc6f3f4073b8298608706f9a0 /src/ral/backends/opengl/backend_opengl.c
parenta0592bdb9966b204373bc4a258da47a603c70969 (diff)
wip
Diffstat (limited to 'src/ral/backends/opengl/backend_opengl.c')
-rw-r--r--src/ral/backends/opengl/backend_opengl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ral/backends/opengl/backend_opengl.c b/src/ral/backends/opengl/backend_opengl.c
index 6ebe4e6..5e08cf3 100644
--- a/src/ral/backends/opengl/backend_opengl.c
+++ b/src/ral/backends/opengl/backend_opengl.c
@@ -419,11 +419,11 @@ void GPU_EncodeDrawIndexed(GPU_CmdEncoder* encoder, u64 index_count) {
bool GPU_Backend_BeginFrame() {
glViewport(0, 0, context.swapchain.dimensions.x * 2, context.swapchain.dimensions.y * 2);
- glClearColor(0.1f, 0.1f, 0.1f, 1.0f);
+ glClearColor(0.8f, 0.8f, 0.8f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
return true;
}
void GPU_Backend_EndFrame() { glfwSwapBuffers(context.window); }
-#endif \ No newline at end of file
+#endif