mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-09 19:36:33 +00:00
Moved Oculus enable drawing to user side...
Still thinking about the best way to manage this...
This commit is contained in:
@@ -52,6 +52,8 @@ int main()
|
||||
BeginDrawing();
|
||||
|
||||
ClearBackground(RAYWHITE);
|
||||
|
||||
if (IsOculusReady()) BeginOculusDrawing();
|
||||
|
||||
Begin3dMode(camera);
|
||||
|
||||
@@ -62,6 +64,8 @@ int main()
|
||||
|
||||
End3dMode();
|
||||
|
||||
if (IsOculusReady()) EndOculusDrawing();
|
||||
|
||||
DrawFPS(10, 10);
|
||||
|
||||
EndDrawing();
|
||||
|
Reference in New Issue
Block a user