diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-09-21 22:11:49 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-09-21 22:11:49 +0200 |
commit | 4b2e316d8bcff035e9695df2c076835389b08362 (patch) | |
tree | a3aa40a89b94facd65964a14c6359a4382a1c2a6 /include | |
parent | d3a7e179981798880f28255832b319801aca11b6 (diff) |
Remove unused glu and xproto/glxproto dependencies
Diffstat (limited to 'include')
-rw-r--r-- | include/window_texture.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/window_texture.h b/include/window_texture.h index acf349a..ea3ff10 100644 --- a/include/window_texture.h +++ b/include/window_texture.h @@ -1,8 +1,11 @@ #ifndef WINDOW_TEXTURE_H #define WINDOW_TEXTURE_H +#ifdef __cplusplus +extern "C" { +#endif + #define GLX_GLXEXT_PROTOTYPES -#include <GL/glew.h> #include <GL/glx.h> #include <GL/glxext.h> #include <X11/Xlib.h> @@ -28,4 +31,8 @@ int window_texture_on_resize(WindowTexture *self); GLuint window_texture_get_opengl_texture_id(WindowTexture *self); +#ifdef __cplusplus +} +#endif + #endif /* WINDOW_TEXTURE_H */ |