aboutsummaryrefslogtreecommitdiff
path: root/src/window_texture.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-04-15 04:14:43 +0200
committerdec05eba <dec05eba@protonmail.com>2023-04-15 04:14:43 +0200
commit5c714ea7142272b7b95b95019501df1d49691db1 (patch)
tree410c5a7998a3c35954787469b86e2a5e22e98207 /src/window_texture.c
parent4e59a9b4b63cd6b882a9ef36a082b652fe715fa9 (diff)
Move EGL define to egl.h from window texture .c
Diffstat (limited to 'src/window_texture.c')
-rw-r--r--src/window_texture.c4
1 files changed, 0 insertions, 4 deletions
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;