-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Milestone
Description
Currently, SDL always forces the use of EGL when creating a GL ES 1.x context on windows, ignoring entirely the usage of wgl,
SDL/src/video/windows/SDL_windowsopengl.c
Line 703 in d16371b
| return SDL_GetHintBoolean(SDL_HINT_OPENGL_ES_DRIVER, false) || _this->gl_config.major_version == 1 || _this->gl_config.major_version > _this->gl_data->es_profile_max_supported_version.major || (_this->gl_config.major_version == _this->gl_data->es_profile_max_supported_version.major && _this->gl_config.minor_version > _this->gl_data->es_profile_max_supported_version.minor); // No WGL extension for OpenGL ES 1.x profiles. |
The comment here
No WGL extension for OpenGL ES 1.x profiles is incorrect, as wgl supports creating them, and I've been using it without problems outside of sdl on both nvidia and amd gpus.In fact forcing a context creation via wgl by stubbing out that check, will make it be properly created
Metadata
Metadata
Assignees
Labels
No labels