Moved Oculus enable drawing to user side...

Still thinking about the best way to manage this...
This commit is contained in:
raysan5 2016-07-04 18:35:50 +02:00
parent 3fb1c446ea
commit 2ff2096b36
2 changed files with 7 additions and 3 deletions

View file

@ -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();