aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-06-21 13:44:56 +0200
committerraysan5 <raysan5@gmail.com>2016-06-21 13:44:56 +0200
commitc28a5fbd62e82f776f4399a1e561c7c4f4bff898 (patch)
treede83d56c3e5d374ef04202afd51aefcc21b34cbd /examples
parent6062201e8f543c227a0adbb77f3a0941772be889 (diff)
downloadraylib-c28a5fbd62e82f776f4399a1e561c7c4f4bff898.tar.gz
raylib-c28a5fbd62e82f776f4399a1e561c7c4f4bff898.zip
Code tweak
Diffstat (limited to 'examples')
-rw-r--r--examples/oculus_glfw_sample/rlgl_standalone_stereo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/oculus_glfw_sample/rlgl_standalone_stereo.c b/examples/oculus_glfw_sample/rlgl_standalone_stereo.c
index 1955d11e..fa7f3e4a 100644
--- a/examples/oculus_glfw_sample/rlgl_standalone_stereo.c
+++ b/examples/oculus_glfw_sample/rlgl_standalone_stereo.c
@@ -184,7 +184,7 @@ int main(void)
rlMatrixMode(RL_PROJECTION); // Enable internal projection matrix
rlLoadIdentity(); // Reset internal projection matrix
- rlOrtho(0.0, screenWidth, screenHeight, 0.0, 0.0, 1.0); // Recalculate internal projection matrix
+ rlOrtho(0.0, screenWidth/2, screenHeight, 0.0, 0.0, 1.0); // Recalculate internal projection matrix
rlMatrixMode(RL_MODELVIEW); // Enable internal modelview matrix
rlLoadIdentity(); // Reset internal modelview matrix
#endif