Simplify SDL_GL_EGL_PLATFORM handling

This commit is contained in:
Cameron Cawley
2026-02-02 21:18:59 +00:00
committed by Sam Lantinga
parent eceb35c96c
commit f8331d50ff
21 changed files with 47 additions and 47 deletions

View File

@@ -82,7 +82,7 @@ bool Android_GLES_SwapWindow(SDL_VideoDevice *_this, SDL_Window *window)
bool Android_GLES_LoadLibrary(SDL_VideoDevice *_this, const char *path)
{
return SDL_EGL_LoadLibrary(_this, path, (NativeDisplayType)0, 0);
return SDL_EGL_LoadLibrary(_this, path, EGL_DEFAULT_DISPLAY);
}
#endif // SDL_VIDEO_DRIVER_ANDROID