Browse Source

Merge branch 'master' of https://github.com/raysan5/raylib

pull/3394/head
Ray 1 year ago
parent
commit
a38afcf053
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rcore.c

+ 1
- 1
src/rcore.c View File

@ -762,7 +762,7 @@ VrStereoConfig LoadVrStereoConfig(VrDeviceInfo device)
{ {
VrStereoConfig config = { 0 }; VrStereoConfig config = { 0 };
if (p">(rlGetVersion() == RL_OPENGL_33) || (rlGetVersion() >= RL_OPENGL_ES_20))
if (rlGetVersion() != RL_OPENGL_11)
{ {
// Compute aspect ratio // Compute aspect ratio
float aspect = ((float)device.hResolution*0.5f)/(float)device.vResolution; float aspect = ((float)device.hResolution*0.5f)/(float)device.vResolution;

Loading…
Cancel
Save