From c91401060662e2e6f828fdbeb41838ad085b436c Mon Sep 17 00:00:00 2001 From: raysan5 Date: Tue, 14 Jun 2016 18:37:28 +0200 Subject: [PATCH] Correct issue on Oculus drawing --- src/rlgl.c | 2 ++ 1 file changed, 2 insertions(+) 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)