diff options
| author | Ray <[email protected]> | 2019-02-06 18:07:34 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2019-02-06 18:07:34 +0100 |
| commit | 366313bfd03c413c60386d51425c34cf9a78afba (patch) | |
| tree | 5fc131591a8fc18a3af62a331a2d94f5b69f259b /src | |
| parent | 68a2bf0e6ba3eb2348297e1333116e93e154dcfe (diff) | |
| download | raylib-366313bfd03c413c60386d51425c34cf9a78afba.tar.gz raylib-366313bfd03c413c60386d51425c34cf9a78afba.zip | |
Update rlgl.h
Diffstat (limited to 'src')
| -rw-r--r-- | src/rlgl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
