]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/pixelformat.h
Fix loading sRGB external images for textures
[libs/gl.git] / source / core / pixelformat.h
index 213328a5578f393acd616eb092a5a55322dc0d07..c9d813cef1bff430200587996f864be8d089e609 100644 (file)
@@ -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);