You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
subsequent calls to SDL_GL_GetProcAddress (on Android) search the libGLESv2.so library rather than the correct libGLESv1.so library. This results in NULL being returned for functions which don't exist in OpenGLES 2 (such as glLogicOp) and probably an incorrect address being returned for other functions.
The simplest solution is for SDL to call 'eglGetProcAddress' which is guaranteed to use the correct library. Currently the code to do this (in SDL_egl.c) is disabled, apparently because of a bug in Android. However that bug was supposedly fixed in 2010 so it may be that the conditional test can be removed, or at least be made dependent on the version of Android.
If the current 'fallback' code is retained, it will need to be changed to test what rendering context has been created (which may not always be what the user requested) and select the appropriate library accordingly.
This bug report was migrated from our old Bugzilla tracker.
Reported in version: 2.0.7
Reported for operating system, platform: Android (All), All
Comments on the original bug report:
On 2018-01-11 10:06:02 +0000, Richard Russell wrote:
On 2019-06-09 01:41:52 +0000, Sam Lantinga wrote:
On 2019-06-09 14:07:15 +0000, Sylvain wrote:
The text was updated successfully, but these errors were encountered: