X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpixelformat.h;h=c232da1e5876f838cd6db34b9ad496adfb3ae113;hb=47af19a447e6c13257ca2d0aef606ea45f8a0d98;hp=145e2a3861d835517eb5493d755d1a8904cf2b1f;hpb=48fc090a59a5ff5c3f06ffe1acfe77b06dad2a86;p=libs%2Fgl.git diff --git a/source/pixelformat.h b/source/pixelformat.h index 145e2a38..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,12 @@ 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); } // namespace GL } // namespace Msp