From 819b09d479dc1eac5adad7718fb934117ea584a3 Mon Sep 17 00:00:00 2001 From: Cloudef Date: Wed, 25 Apr 2012 09:36:38 +0300 Subject: [PATCH] Add member struct defines for window's context members so code can be shared --- src/x11_egl_platform.h | 1 + src/x11_platform.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/x11_egl_platform.h b/src/x11_egl_platform.h index b1fb53cb..f2fe4092 100644 --- a/src/x11_egl_platform.h +++ b/src/x11_egl_platform.h @@ -76,6 +76,7 @@ #define _GLFW_PLATFORM_CONTEXT_STATE _GLFWcontextEGL EGL #define _GLFW_PLATFORM_LIBRARY_WINDOW_STATE _GLFWlibraryX11 X11 #define _GLFW_PLATFORM_LIBRARY_OPENGL_STATE _GLFWlibraryEGL EGL +#define _GLFW_CTX EGL // Clipboard format atom indices #define _GLFW_CLIPBOARD_FORMAT_UTF8 0 diff --git a/src/x11_platform.h b/src/x11_platform.h index 39593655..28e749fe 100644 --- a/src/x11_platform.h +++ b/src/x11_platform.h @@ -85,6 +85,7 @@ #define _GLFW_PLATFORM_CONTEXT_STATE _GLFWcontextGLX GLX #define _GLFW_PLATFORM_LIBRARY_WINDOW_STATE _GLFWlibraryX11 X11 #define _GLFW_PLATFORM_LIBRARY_OPENGL_STATE _GLFWlibraryGLX GLX +#define _GLFW_CTX GLX // Clipboard format atom indices #define _GLFW_CLIPBOARD_FORMAT_UTF8 0