X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpixelformat.h;h=d61788a630ecb702359605afb8b23ba42bf60c78;hb=a8c4b199788c87f0a22b8c8df1509905b6fb488b;hp=6579700d421e8329279a2c35147c4e4c7283bb4a;hpb=a4ec5410595ddf37bfbc0e85ad87d31a9cbf94f1;p=libs%2Fgl.git diff --git a/source/pixelformat.h b/source/pixelformat.h index 6579700d..d61788a6 100644 --- a/source/pixelformat.h +++ b/source/pixelformat.h @@ -8,6 +8,8 @@ Distributed under the LGPL #ifndef MSP_GL_PIXELFORMAT_H_ #define MSP_GL_PIXELFORMAT_H_ +#include +#include #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