]> git.tdb.fi Git - libs/gl.git/blobdiff - source/pixelformat.h
Include extension headers in places that need enums from them
[libs/gl.git] / source / pixelformat.h
index 145e2a3861d835517eb5493d755d1a8904cf2b1f..4dabcbb5bfdbdf3d2194eddca4f5910d6b336b2a 100644 (file)
@@ -4,7 +4,8 @@
 #include <msp/graphics/pixelformat.h>
 #include <msp/strings/lexicalcast.h>
 #include "gl.h"
-#include <GL/glext.h>
+#include <msp/gl/extensions/arb_texture_float.h>
+#include <msp/gl/extensions/ext_bgra.h>
 
 namespace Msp {
 namespace GL {
@@ -44,6 +45,8 @@ PixelFormat pixelformat_from_graphics(Graphics::PixelFormat);
 
 PixelFormat get_base_pixelformat(PixelFormat);
 
+void require_pixelformat(PixelFormat);
+
 } // namespace GL
 } // namespace Msp