mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-25 04:28:30 +00:00
Correct issue on Oculus drawing
This commit is contained in:
@@ -2562,6 +2562,8 @@ void BeginOculusDrawing(void)
|
|||||||
// - Require OculusBuffer format to be OVR_FORMAT_R8G8B8A8_UNORM_SRGB
|
// - Require OculusBuffer format to be OVR_FORMAT_R8G8B8A8_UNORM_SRGB
|
||||||
// - Do NOT enable GL_FRAMEBUFFER_SRGB
|
// - Do NOT enable GL_FRAMEBUFFER_SRGB
|
||||||
//glEnable(GL_FRAMEBUFFER_SRGB);
|
//glEnable(GL_FRAMEBUFFER_SRGB);
|
||||||
|
|
||||||
|
rlClearScreenBuffers(); // Clear current framebuffer(s)
|
||||||
}
|
}
|
||||||
|
|
||||||
void EndOculusDrawing(void)
|
void EndOculusDrawing(void)
|
||||||
|
Reference in New Issue
Block a user