]> git.sesse.net Git - nageru/commitdiff
Fix a compile error related to gl.h choices.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 4 Oct 2015 15:32:24 +0000 (17:32 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 4 Oct 2015 15:32:24 +0000 (17:32 +0200)
main.cpp
ref_counted_gl_sync.h

index 9ea610f04d59c8d7dd1a8f98feb246a519a4dfd5..b39fafe2c837d285d4ffb294726b710a0f8a06e2 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -1,3 +1,4 @@
+#include <epoxy/gl.h>
 #include <QApplication>
 #include <QDesktopWidget>
 #include <QSurfaceFormat>
index 5e23752dd2c3ea80e75321cc6e4453e0f5d7e884..8b6a8af58db178a3ecf1789806af776c92f4e05d 100644 (file)
@@ -6,7 +6,7 @@
 // places. (We could set two fences at the same time, but they are not an
 // unlimited hardware resource, so it would be a bit wasteful.)
 
-#include <GL/gl.h>
+#include <epoxy/gl.h>
 #include <memory>
 
 typedef std::shared_ptr<__GLsync> RefCountedGLsyncBase;