X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpixelformat.h;h=4da1a1517ae60b45b85aea8d41b7452744326f19;hb=946266e823c07025f115b5e4f5523b496dcb393e;hp=590ab97eb62cd1e48821e27b9ddda71352149d48;hpb=e37851b98dde5082ee92570354746f2f92e21940;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);