#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 {
LUMINANCE_ALPHA = GL_LUMINANCE_ALPHA
};
+std::istream &operator>>(std::istream &, PixelFormat &);
+
+PixelFormat pixelformat_from_graphics(Graphics::PixelFormat);
+
} // namespace GL
} // namespace Msp