aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-09 21:49:50 +0100
committerDavid Robillard <d@drobilla.net>2020-03-09 21:49:50 +0100
commit947703d7b0303c0afacc8d61ad145806b44e3af6 (patch)
tree5fc738032b5154c3f5f37fc53c4c0151e036e5be
parent3dad9b15a147c6185a444effb764e6565c68bd28 (diff)
Cleanup: Remove unnecessary includes
Apparently glxext.h is always included in glx.h on modern systems. The window demo does not actually use any GL functions directly since they are all factored out.
-rw-r--r--examples/pugl_window_demo.c1
-rw-r--r--pugl/detail/x11_gl.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/examples/pugl_window_demo.c b/examples/pugl_window_demo.c
index fdcd8cb..a3d87e6 100644
--- a/examples/pugl_window_demo.c
+++ b/examples/pugl_window_demo.c
@@ -24,7 +24,6 @@
#include "demo_utils.h"
#include "test/test_utils.h"
-#include "pugl/gl.h"
#include "pugl/pugl.h"
#include "pugl/pugl_gl.h"
diff --git a/pugl/detail/x11_gl.c b/pugl/detail/x11_gl.c
index 5bd7fac..5e4a5ca 100644
--- a/pugl/detail/x11_gl.c
+++ b/pugl/detail/x11_gl.c
@@ -25,7 +25,6 @@
#include "pugl/pugl_stub.h"
#include <GL/glx.h>
-#include <GL/glxext.h>
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>