aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-10-19 12:09:10 +0200
committerDavid Robillard <d@drobilla.net>2020-10-19 12:09:23 +0200
commitf2e294f99b42becc35588673f45a2d536e1091fa (patch)
tree5068374f3efebf87efa50ffd595bb051bc634abb /examples
parentc5ca8a3cff884bfba20f31f9ea8febdd3e66a9a5 (diff)
downloadpugl-f2e294f99b42becc35588673f45a2d536e1091fa.tar.gz
pugl-f2e294f99b42becc35588673f45a2d536e1091fa.tar.bz2
pugl-f2e294f99b42becc35588673f45a2d536e1091fa.zip
Cleanup: Fix IWYU warnings
Diffstat (limited to 'examples')
-rw-r--r--examples/glad/glad.h2
-rw-r--r--examples/pugl_cxx_demo.cpp3
-rw-r--r--examples/pugl_shader_demo.c1
3 files changed, 1 insertions, 5 deletions
diff --git a/examples/glad/glad.h b/examples/glad/glad.h
index d8068c6..9efb229 100644
--- a/examples/glad/glad.h
+++ b/examples/glad/glad.h
@@ -124,8 +124,6 @@ typedef khronos_int64_t GLint64EXT;
typedef khronos_uint64_t GLuint64;
typedef khronos_uint64_t GLuint64EXT;
typedef struct __GLsync *GLsync;
-struct _cl_context;
-struct _cl_event;
typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
typedef void (APIENTRY *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
diff --git a/examples/pugl_cxx_demo.cpp b/examples/pugl_cxx_demo.cpp
index 439922c..214c03d 100644
--- a/examples/pugl_cxx_demo.cpp
+++ b/examples/pugl_cxx_demo.cpp
@@ -23,10 +23,9 @@
#include "demo_utils.h"
#include "test/test_utils.h"
-#include "pugl/gl.h"
#include "pugl/pugl.h"
#include "pugl/pugl.hpp"
-#include "pugl/pugl.ipp"
+#include "pugl/pugl.ipp" // IWYU pragma: keep
#include "pugl/pugl_gl.hpp"
#include <cmath>
diff --git a/examples/pugl_shader_demo.c b/examples/pugl_shader_demo.c
index 70f9c41..f77d9ad 100644
--- a/examples/pugl_shader_demo.c
+++ b/examples/pugl_shader_demo.c
@@ -42,7 +42,6 @@
#include "glad/glad.h"
-#include "pugl/gl.h"
#include "pugl/pugl.h"
#include "pugl/pugl_gl.h"