EGL: Replace native handle macros with functions

This change is in preparation both for EGL_EXT_platform_base and runtime
GLFW platform selection.

Related to #1691.
This commit is contained in:
Camilla Löwy
2020-06-03 20:49:36 +02:00
parent b66f105f3e
commit d7f7b0e1b5
12 changed files with 51 additions and 34 deletions
+1 -2
View File
@@ -34,9 +34,8 @@
#define _GLFW_PLATFORM_CONTEXT_STATE struct { int dummyContext; }
#define _GLFW_PLATFORM_CURSOR_STATE struct { int dummyCursor; }
#define _GLFW_PLATFORM_LIBRARY_CONTEXT_STATE struct { int dummyLibraryContext; }
#define _GLFW_EGL_CONTEXT_STATE struct { int dummyEGLContext; }
#define _GLFW_EGL_LIBRARY_CONTEXT_STATE struct { int dummyEGLLibraryContext; }
#include "egl_context.h"
#include "osmesa_context.h"
#include "posix_time.h"
#include "posix_thread.h"