diff options
-rw-r--r-- | examples/glad/glad.h | 2 | ||||
-rw-r--r-- | examples/pugl_cxx_demo.cpp | 3 | ||||
-rw-r--r-- | examples/pugl_shader_demo.c | 1 | ||||
-rw-r--r-- | pugl/gl.h | 4 | ||||
-rw-r--r-- | pugl/glu.h | 4 |
5 files changed, 9 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" @@ -22,6 +22,8 @@ pure portable programs. */ +// IWYU pragma: begin_exports + #ifdef __APPLE__ # include "OpenGL/gl.h" #else @@ -30,3 +32,5 @@ # endif # include "GL/gl.h" #endif + +// IWYU pragma: end_exports @@ -22,6 +22,8 @@ pure portable programs. */ +// IWYU pragma: begin_exports + #ifdef __APPLE__ # include "OpenGL/glu.h" #else @@ -30,3 +32,5 @@ # endif # include "GL/glu.h" #endif + +// IWYU pragma: end_exports |