]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/pixelformat.h
Completely hide OpenGL from the public headers
[libs/gl.git] / source / core / pixelformat.h
index 75651a8f872edfb93c6ab4849b54455f5867063f..65331c99901fcd5aefee7b78e1fef5727579af9e 100644 (file)
@@ -3,7 +3,6 @@
 
 #include <msp/graphics/image.h>
 #include <msp/strings/lexicalcast.h>
-#include "gl.h"
 #include "datatype.h"
 
 namespace Msp {
@@ -99,8 +98,8 @@ inline unsigned get_pixel_size(PixelFormat f) { return get_component_count(f)*ge
 
 void require_pixelformat(PixelFormat);
 
-GLenum get_gl_components(PixelComponents);
-GLenum get_gl_pixelformat(PixelFormat);
+unsigned get_gl_components(PixelComponents);
+unsigned get_gl_pixelformat(PixelFormat);
 
 } // namespace GL
 } // namespace Msp