]> git.tdb.fi Git - libs/gl.git/blobdiff - source/pixelformat.h
Move Image to mspgbase
[libs/gl.git] / source / pixelformat.h
index 6579700d421e8329279a2c35147c4e4c7283bb4a..d61788a630ecb702359605afb8b23ba42bf60c78 100644 (file)
@@ -8,6 +8,8 @@ Distributed under the LGPL
 #ifndef MSP_GL_PIXELFORMAT_H_
 #define MSP_GL_PIXELFORMAT_H_
 
+#include <istream>
+#include <msp/gbase/pixelformat.h>
 #include "gl.h"
 
 namespace Msp {
@@ -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