diff options
-rw-r--r-- | include/egl.h | 1 | ||||
-rw-r--r-- | src/window_texture.c | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/include/egl.h b/include/egl.h index 1021fc4..1056a5c 100644 --- a/include/egl.h +++ b/include/egl.h @@ -43,6 +43,7 @@ typedef void (*__eglMustCastToProperFunctionPointerType)(void); #define EGL_GL_TEXTURE_2D 0x30B1 #define EGL_TRUE 1 #define EGL_IMAGE_PRESERVED_KHR 0x30D2 +#define EGL_NATIVE_PIXMAP_KHR 0x30B0 #define GL_TEXTURE_2D 0x0DE1 #define GL_RGB 0x1907 diff --git a/src/window_texture.c b/src/window_texture.c index 741a145..81bf053 100644 --- a/src/window_texture.c +++ b/src/window_texture.c @@ -1,10 +1,6 @@ #include "../include/window_texture.h" #include <X11/extensions/Xcomposite.h> -#define EGL_TRUE 1 -#define EGL_IMAGE_PRESERVED_KHR 0x30D2 -#define EGL_NATIVE_PIXMAP_KHR 0x30B0 - static int x11_supports_composite_named_window_pixmap(Display *display) { int extension_major; int extension_minor; |