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