Przeglądaj źródła

Update rlgl.h

pull/747/head
Ray 7 lat temu
rodzic
commit
366313bfd0
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/rlgl.h

+ 1
- 1
src/rlgl.h Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz