Update rcore.c (#3326)

This commit is contained in:
SuperUserNameMan
2023-10-09 09:54:43 +02:00
committed by GitHub
parent 33c84b3c00
commit dfb0326d00

View File

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