diff options
Diffstat (limited to 'include/pugl')
-rw-r--r-- | include/pugl/gl.h | 11 | ||||
-rw-r--r-- | include/pugl/glu.h | 22 |
2 files changed, 22 insertions, 11 deletions
diff --git a/include/pugl/gl.h b/include/pugl/gl.h index 1298ff6..efb22f3 100644 --- a/include/pugl/gl.h +++ b/include/pugl/gl.h @@ -22,17 +22,6 @@ # endif #endif -#ifndef PUGL_NO_INCLUDE_GLU_H -# ifdef __APPLE__ -# include <OpenGL/glu.h> -# else -# ifdef _WIN32 -# include <windows.h> -# endif -# include <GL/glu.h> -# endif -#endif - // IWYU pragma: end_exports PUGL_BEGIN_DECLS diff --git a/include/pugl/glu.h b/include/pugl/glu.h new file mode 100644 index 0000000..e709dfb --- /dev/null +++ b/include/pugl/glu.h @@ -0,0 +1,22 @@ +// Copyright 2012-2023 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: ISC + +#ifndef PUGL_GLU_H +#define PUGL_GLU_H + +// IWYU pragma: begin_exports + +#ifndef PUGL_NO_INCLUDE_GLU_H +# ifdef __APPLE__ +# include <OpenGL/glu.h> +# else +# ifdef _WIN32 +# include <windows.h> +# endif +# include <GL/glu.h> +# endif +#endif + +// IWYU pragma: end_exports + +#endif // PUGL_GLU_H |