aboutsummaryrefslogtreecommitdiff
path: root/src/core.c
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-06-26 14:13:11 +0200
committerraysan5 <raysan5@gmail.com>2016-06-26 14:13:11 +0200
commit8652e644dd9f013464ac1cf1bf9f643637209ff8 (patch)
tree582d629fe3632d2b20f6832e00b5860344ebdba5 /src/core.c
parent4ff85c2ac257eb5494626dae30e79c5f48430609 (diff)
downloadraylib-8652e644dd9f013464ac1cf1bf9f643637209ff8.tar.gz
raylib-8652e644dd9f013464ac1cf1bf9f643637209ff8.zip
Corrected bug on stereo rendering
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c
index f02178c5..47ce5cea 100644
--- a/src/core.c
+++ b/src/core.c
@@ -1774,7 +1774,7 @@ static void InitGraphicsDevice(int width, int height)
#endif // defined(PLATFORM_ANDROID) || defined(PLATFORM_RPI)
// Initialize OpenGL context (states and resources)
- rlglInit();
+ rlglInit(screenWidth, screenHeight);
// Initialize screen viewport (area of the screen that you will actually draw to)
// NOTE: Viewport must be recalculated if screen is resized