From f2e294f99b42becc35588673f45a2d536e1091fa Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 19 Oct 2020 12:09:10 +0200 Subject: Cleanup: Fix IWYU warnings --- examples/glad/glad.h | 2 -- examples/pugl_cxx_demo.cpp | 3 +-- examples/pugl_shader_demo.c | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) (limited to 'examples') 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 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" -- cgit v1.2.1