Update rcore.c

This commit is contained in:
SuperUserNameMan 2023-09-18 18:48:30 +02:00 committed by GitHub
parent 5c9cc3f9f7
commit 61327259a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2602,7 +2602,7 @@ VrStereoConfig LoadVrStereoConfig(VrDeviceInfo device)
{ {
VrStereoConfig config = { 0 }; VrStereoConfig config = { 0 };
if ((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;