summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2023-10-09 10:51:41 +0200
committerRay <[email protected]>2023-10-09 10:51:41 +0200
commita38afcf0537ccb008e772befae3e913820f51b76 (patch)
treec7da5a300fcc5bca98928b186371e04ceb94758e /src
parentf86f4159e6eb4ed84cca6147c2f1e76ff2524c19 (diff)
parentdfb0326d00c65e145472464b5ebe74802fe630cc (diff)
downloadraylib-a38afcf0537ccb008e772befae3e913820f51b76.tar.gz
raylib-a38afcf0537ccb008e772befae3e913820f51b76.zip
Merge branch 'master' of https://github.com/raysan5/raylib
Diffstat (limited to 'src')
-rw-r--r--src/rcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcore.c b/src/rcore.c
index a3075aac..29881198 100644
--- a/src/rcore.c
+++ b/src/rcore.c
@@ -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;