From 3f9bf43a4accc2e90390a348b67b6748f3a90cce Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 19 Aug 2024 19:46:15 +0200 Subject: Add define to use glEGLImageTargetTexture2DOES --- README.md | 2 +- window_texture.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 37de08b..dca1f01 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,4 @@ For example when you use a compositor such as picom you cant get window textures However with EGL there is no such issue (limitation) on nvidia (nor amd and intel). # Dependencies -egl (a library such as libglvnd), x11, xcomposite +gl and egl (both are part of libglvnd), x11, xcomposite diff --git a/window_texture.h b/window_texture.h index 7d3f899..2cf46fb 100644 --- a/window_texture.h +++ b/window_texture.h @@ -6,6 +6,7 @@ extern "C" { #endif #define EGL_EGLEXT_PROTOTYPES +#define GL_GLEXT_PROTOTYPES #include #include #include -- cgit v1.2.3-70-g09d2