diff options
| author | raysan5 <raysan5@gmail.com> | 2016-06-14 18:37:28 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2016-06-14 18:37:28 +0200 |
| commit | c91401060662e2e6f828fdbeb41838ad085b436c (patch) | |
| tree | 9728c8850f383700692125a12b9a794e9a94fc1a /src/rlgl.c | |
| parent | 56bd9da07cbc6db9806380c79351ab0c5747c8f5 (diff) | |
| download | raylib-c91401060662e2e6f828fdbeb41838ad085b436c.tar.gz raylib-c91401060662e2e6f828fdbeb41838ad085b436c.zip | |
Correct issue on Oculus drawing
Diffstat (limited to 'src/rlgl.c')
| -rw-r--r-- | src/rlgl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |
