-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
GL version being reported is wrong? #94
Comments
Hi! No, it's indeed a bug! I already have a branch that fixes this, along with other changes. I'll submit it in a few days. |
Doesn't that bump OpenGX to GL2 though? Or did I misread the diff |
The code there does return ogx_get_proc_address("glUseProgram") ? "2.0" : "1.5"; that is, it will return "2.0" only if ogx_get_proc_address() manages to resolve the "glUseProgram" name into a function pointer. If you look at the new code in |
Ooohhh I see, that's really smart, I had no idea you could do things like that, I saw those parts of the code but didn't understand how proc_adress would return null, good to know, thanks. |
The readme claims 1.5, but OpenGX itself reports 1.1, is this intended?
/~https://github.com/devkitPro/opengx/blob/master/src/getters.c#L58
The text was updated successfully, but these errors were encountered: