From d93b810bc39ee5e7dc0a6cb0988ccc167c152646 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 27 May 2023 12:41:25 -0400 Subject: Separate pugl/glu.h from pugl/gl.h The GLU library is often shipped in a separate package, so it's possible to have a system with GL, but no GLU headers. Since use of GLU isn't universal (none of the examples use it), its inclusion can break builds that would otherwise work. So, move it to a separate wrapper header so this can be avoided. --- test/test_build.c | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/test_build.c b/test/test_build.c index b9b2ae2..e28df3c 100644 --- a/test/test_build.c +++ b/test/test_build.c @@ -9,6 +9,7 @@ #include "pugl/cairo.h" // IWYU pragma: keep #include "pugl/gl.h" // IWYU pragma: keep +#include "pugl/glu.h" // IWYU pragma: keep #include "pugl/pugl.h" // IWYU pragma: keep #include "pugl/stub.h" // IWYU pragma: keep -- cgit v1.2.1