X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpixelformat.h;h=c232da1e5876f838cd6db34b9ad496adfb3ae113;hb=055f553b1a75f44e72f3c2b5a1c98c1e1e8f3f30;hp=55115cf77e7bbde4a2ac3af6f92d42ae7fcd9edb;hpb=41b4cb3002f3551ce1bd6fdf15994ee7bc523788;p=libs%2Fgl.git diff --git a/source/pixelformat.h b/source/pixelformat.h index 55115cf7..c232da1e 100644 --- a/source/pixelformat.h +++ b/source/pixelformat.h @@ -4,7 +4,8 @@ #include #include #include "gl.h" -#include +#include +#include namespace Msp { namespace GL { @@ -41,8 +42,10 @@ enum PixelFormat void operator>>(const LexicalConverter &, PixelFormat &); PixelFormat pixelformat_from_graphics(Graphics::PixelFormat); +PixelFormat storage_pixelformat_from_graphics(Graphics::PixelFormat); PixelFormat get_base_pixelformat(PixelFormat); +unsigned get_component_count(PixelFormat); void require_pixelformat(PixelFormat);