Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] debug LoadVrStereoConfig() so it accepts RL_OPENGL_43 and RL_OPENGL_21 #3326

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

SuperUserNameMan
Copy link
Contributor

I think there was a confusion about whether rlGetVersion() returns RL_OPENGL_33 or GRAPHICS_OPENGL_33 in the code of LoadVrStereoConfig() which was thus rejecting OpenGL4.3 and OpenGL2.1 with a WARNING: RLGL: VR Simulator not supported on OpenGL 1.1 ...

This patch solves it, and the core_vr_simulator example works with all version of OpenGL (other than 1.1 indeed)

@raysan5 raysan5 merged commit dfb0326 into raysan5:master Oct 9, 2023
12 checks passed
@raysan5
Copy link
Owner

raysan5 commented Oct 9, 2023

@SuperUserNameMan Thanks for the review.

@SuperUserNameMan SuperUserNameMan deleted the debug-LoadVrStereoConfig branch July 13, 2024 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants