]> git.tdb.fi Git - libs/gl.git/blobdiff - source/pixelformat.h
Move Image to mspgbase
[libs/gl.git] / source / pixelformat.h
index 87cbe7546c95a8ca0125c1ef5fbb784139d10f27..d61788a630ecb702359605afb8b23ba42bf60c78 100644 (file)
@@ -8,7 +8,9 @@ Distributed under the LGPL
 #ifndef MSP_GL_PIXELFORMAT_H_
 #define MSP_GL_PIXELFORMAT_H_
 
-#include <GL/gl.h>
+#include <istream>
+#include <msp/gbase/pixelformat.h>
+#include "gl.h"
 
 namespace Msp {
 namespace GL {
@@ -30,6 +32,10 @@ enum PixelFormat
        LUMINANCE_ALPHA = GL_LUMINANCE_ALPHA
 };
 
+std::istream &operator>>(std::istream &, PixelFormat &);
+
+PixelFormat pixelformat_from_graphics(Graphics::PixelFormat);
+
 } // namespace GL
 } // namespace Msp