Moved Oculus enable drawing to user side...
Still thinking about the best way to manage this...
This commit is contained in:
parent
3fb1c446ea
commit
2ff2096b36
2 changed files with 7 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue