X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpixelformat.h;fp=source%2Fpixelformat.h;h=4da1a1517ae60b45b85aea8d41b7452744326f19;hb=4d7f66ea28c788e12f700216b9c53af9e71b8390;hp=590ab97eb62cd1e48821e27b9ddda71352149d48;hpb=8ed7051d1a80c7e8b198d96575338eee6a5e2485;p=libs%2Fgl.git diff --git a/source/pixelformat.h b/source/pixelformat.h index 590ab97e..4da1a151 100644 --- a/source/pixelformat.h +++ b/source/pixelformat.h @@ -56,6 +56,8 @@ PixelFormat storage_pixelformat_from_graphics(Graphics::PixelFormat); PixelFormat get_base_pixelformat(PixelFormat); PixelFormat get_srgb_pixelformat(PixelFormat); unsigned get_component_count(PixelFormat); +unsigned get_component_size(PixelFormat); +unsigned get_pixel_size(PixelFormat); void require_pixelformat(PixelFormat);