]> git.tdb.fi Git - libs/gl.git/blobdiff - source/pixelformat.h
Expand the PixelFormat conversion API
[libs/gl.git] / source / pixelformat.h
index 17a90d365781095f650109457ec6673506522ac1..dcbb5948f69ad87a391cc1a6f2af4a26a3f997be 100644 (file)
@@ -63,7 +63,8 @@ PixelFormat pixelformat_from_graphics(Graphics::PixelFormat);
 PixelFormat storage_pixelformat_from_graphics(Graphics::PixelFormat, bool = false);
 
 PixelFormat get_base_pixelformat(PixelFormat);
-PixelFormat get_sized_pixelformat(PixelFormat);
+PixelFormat get_unsized_pixelformat(PixelFormat);
+PixelFormat get_sized_pixelformat(PixelFormat, unsigned = 1);
 PixelFormat get_srgb_pixelformat(PixelFormat);
 unsigned get_component_count(PixelFormat);
 unsigned get_component_size(PixelFormat);