summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2019-02-06 18:07:34 +0100
committerRay <[email protected]>2019-02-06 18:07:34 +0100
commit366313bfd03c413c60386d51425c34cf9a78afba (patch)
tree5fc131591a8fc18a3af62a331a2d94f5b69f259b /src
parent68a2bf0e6ba3eb2348297e1333116e93e154dcfe (diff)
downloadraylib-366313bfd03c413c60386d51425c34cf9a78afba.tar.gz
raylib-366313bfd03c413c60386d51425c34cf9a78afba.zip
Update rlgl.h
Diffstat (limited to 'src')
-rw-r--r--src/rlgl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 979b3a2d..f2762637 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -4372,7 +4372,7 @@ static VrStereoConfig SetStereoConfig(VrDeviceInfo hmd, Shader distortion)
// Initialize framebuffer and textures for stereo rendering
// NOTE: Screen size should match HMD aspect ratio
- config.stereoFbo = rlLoadRenderTexture(GetScreenWidth(), GetScreenHeight(), UNCOMPRESSED_R8G8B8A8, 24, false);
+ config.stereoFbo = rlLoadRenderTexture(screenWidth, screenHeight, UNCOMPRESSED_R8G8B8A8, 24, false);
// Assign distortion shader
config.distortionShader = distortion;