mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 13:15:10 +00:00
SDL_egl: allow creation of versioned OpenGL contexts with EGL_KHR_create_context
If the EGL extension EGL_KHR_create_context is available, we can use it to set the core/compatability profile and the minimum OpenGL version. Use this if it is available to get the context requested by the GL attributes.
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#ifndef _MSC_VER
|
||||
|
||||
#include <EGL/egl.h>
|
||||
#include <EGL/eglext.h>
|
||||
|
||||
#else /* _MSC_VER */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user