mirror of
https://github.com/glfw/glfw.git
synced 2026-11-18 04:44:54 +00:00
Cleanup of backend option strings.
This commit is contained in:
@@ -42,6 +42,8 @@ typedef void* id;
|
||||
|
||||
#if defined(_GLFW_NSGL)
|
||||
#include "nsgl_platform.h"
|
||||
#else
|
||||
#error "No supported context creation API selected"
|
||||
#endif
|
||||
|
||||
#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowNS NS
|
||||
|
||||
+1
-1
@@ -72,7 +72,7 @@ typedef struct _GLFWlibrary _GLFWlibrary;
|
||||
#elif defined(_GLFW_X11)
|
||||
#include "x11_platform.h"
|
||||
#else
|
||||
#error "No supported platform selected"
|
||||
#error "No supported window creation API selected"
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -111,6 +111,8 @@ typedef DWORD (WINAPI * TIMEGETTIME_T) (void);
|
||||
#define _GLFW_EGL_NATIVE_WINDOW window->Win32.handle
|
||||
#define _GLFW_EGL_NATIVE_DISPLAY NULL
|
||||
#include "egl_platform.h"
|
||||
#else
|
||||
#error "No supported context creation API selected"
|
||||
#endif
|
||||
|
||||
#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowWin32 Win32
|
||||
|
||||
@@ -61,6 +61,8 @@
|
||||
#define _GLFW_EGL_NATIVE_WINDOW window->X11.handle
|
||||
#define _GLFW_EGL_NATIVE_DISPLAY _glfwLibrary.X11.display
|
||||
#include "egl_platform.h"
|
||||
#else
|
||||
#error "No supported context creation API selected"
|
||||
#endif
|
||||
|
||||
#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowX11 X11
|
||||
|
||||
Reference in New Issue
Block a user