X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fpixelformat.h;h=c9d813cef1bff430200587996f864be8d089e609;hp=213328a5578f393acd616eb092a5a55322dc0d07;hb=baf53e7a2db1c27376a04b088b6954eeee81f009;hpb=e72f81ac7f8708daab71965cfc9949ea64fd8a94 diff --git a/source/core/pixelformat.h b/source/core/pixelformat.h index 213328a5..c9d813ce 100644 --- a/source/core/pixelformat.h +++ b/source/core/pixelformat.h @@ -83,6 +83,8 @@ DataType get_component_type(PixelFormat); inline unsigned get_component_size(PixelFormat f) { return get_type_size(get_component_type(f)); } +bool is_srgb(PixelFormat); + unsigned get_pixel_size(PixelFormat); void require_pixelformat(PixelFormat);