aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rlgl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rlgl.c b/src/rlgl.c
index 1e392889..5d6fd9d7 100644
--- a/src/rlgl.c
+++ b/src/rlgl.c
@@ -2562,6 +2562,8 @@ void BeginOculusDrawing(void)
// - Require OculusBuffer format to be OVR_FORMAT_R8G8B8A8_UNORM_SRGB
// - Do NOT enable GL_FRAMEBUFFER_SRGB
//glEnable(GL_FRAMEBUFFER_SRGB);
+
+ rlClearScreenBuffers(); // Clear current framebuffer(s)
}
void EndOculusDrawing(void)