Corrected bug on stereo rendering

This commit is contained in:
raysan5 2016-06-26 14:13:11 +02:00
parent 4ff85c2ac2
commit 8652e644dd
3 changed files with 8 additions and 8 deletions

View file

@ -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