X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpixelformat.h;h=7a562cc948408bccf0eaaba9982df73edc7307e7;hb=3a9ee749fbde41695d1b1a0804bbf63d76427b27;hp=6d68bbc170d0b9f2228087567ef0984bb951aa3d;hpb=57de40e1e802e44ae5b4caa67b0bb8763828b5c3;p=libs%2Fgl.git diff --git a/source/pixelformat.h b/source/pixelformat.h index 6d68bbc1..7a562cc9 100644 --- a/source/pixelformat.h +++ b/source/pixelformat.h @@ -7,6 +7,8 @@ #include #include #include +#include +#include namespace Msp { namespace GL { @@ -47,7 +49,7 @@ enum PixelFormat void operator>>(const LexicalConverter &, PixelFormat &); PixelFormat pixelformat_from_graphics(Graphics::PixelFormat); -PixelFormat storage_pixelformat_from_graphics(Graphics::PixelFormat); +PixelFormat storage_pixelformat_from_graphics(Graphics::PixelFormat, bool = false); PixelFormat get_base_pixelformat(PixelFormat); PixelFormat get_srgb_pixelformat(PixelFormat);