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:
parent
e11bc486e4
commit
c44787ba7b
4 changed files with 60 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
|||
#ifndef _MSC_VER
|
||||
|
||||
#include <EGL/egl.h>
|
||||
#include <EGL/eglext.h>
|
||||
|
||||
#else /* _MSC_VER */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue