]> git.tdb.fi Git - libs/gl.git/blobdiff - source/pixelformat.h
Move srgb handling to storage_pixelformat_from_graphics
[libs/gl.git] / source / pixelformat.h
index 0fa6609a1ead97d061ad7f45c9e2a97ff0c805ba..7a562cc948408bccf0eaaba9982df73edc7307e7 100644 (file)
@@ -49,7 +49,7 @@ enum PixelFormat
 void operator>>(const LexicalConverter &, PixelFormat &);
 
 PixelFormat pixelformat_from_graphics(Graphics::PixelFormat);
-PixelFormat storage_pixelformat_from_graphics(Graphics::PixelFormat);
+PixelFormat storage_pixelformat_from_graphics(Graphics::PixelFormat, bool = false);
 
 PixelFormat get_base_pixelformat(PixelFormat);
 PixelFormat get_srgb_pixelformat(PixelFormat);