-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
Extensions are not checked if NOEGL is set #83
Comments
Without EGL, the offscreen context that is created for extensions cannot be created, so it's not called. Now, on Android, there is always a context, so I guess I could activate extensions checking in that case. I'll do something. (Hey, it's been a long time :) ) |
Ah yes of course, I manage the context myself so it will be valid at this point. |
Ah, I have slowed down a bit lately as I work on some project I haven't open sourced yet (a linux user-space x86 emu for arm). But I still have plenty of stuff to do on gl4es, as I want to add support for TEXTURE_RECTANGLE_ARB in shaders, and then add support for simulated TEXTURE_3D too. And then prepare the way to have some GLES3.x backend, to target OpenGL 3.x... |
Do you have some project going on? |
Sound good! I'm looking at Doom (again) see 'Delta Touch', specifically updating GZdoom, the app has a few versions of GZDoom, the older versions are using GLES1 with a simple shim, just looking adding the option to use this library as an option, on some devices with the gles2 backend seems a little faster. |
Ah yes, gzdoom has move quite a bit. I've notice they removed support for OpenGL 2.x for 2 or 3 version already. But there are still some incredible games being produce for this engine. I have pushed the fix for the Hardware test. |
Can I close this ticket now? |
Yes, thanks. I have updated to the latest version and seems to be working. New version mostly fixed the shader issue for Zandronum in GLES2 mode, just one small lighting issue with the walls 'randomly' going dark and light when using shaders...to be investigated. |
Ah, still some issues :( Ok, I close this one anyway. Thanks. |
Thanks! Interesting thing is on my GLES3 devices there is no issue, only on the old GLES2 only device does it happen. Anyway not the place to discuss, I'll do some debugging and let you know if I find anything. |
For some reason extensions are not checked if NOEGL is set, this was causing elementuint to never be set.
I have changed the code to this, any reason why it shouldn't work?
#ifdef NOEGL
int gl4es_notest = 0;
#else
(Thanks for the continued awesome woke on this!!)
The text was updated successfully, but these errors were encountered: