X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fpixelformat.h;h=c9d813cef1bff430200587996f864be8d089e609;hb=baf53e7a2db1c27376a04b088b6954eeee81f009;hp=213328a5578f393acd616eb092a5a55322dc0d07;hpb=7aaec9a70b8d7733429bec043f8e33e02956f266;p=libs%2Fgl.git 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);