]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture3d.cpp
Use a type registry to manage postprocessor types for pipeline templates
[libs/gl.git] / source / texture3d.cpp
index ed5619cb4aed30f567cf7e3e063a7ad05f60fd27..7c4b04469d23a0b17961543cf34ff9e21688977a 100644 (file)
@@ -256,8 +256,6 @@ void Texture3D::Loader::raw_data(const string &data)
 
 void Texture3D::Loader::storage(PixelFormat fmt, unsigned w, unsigned h, unsigned d)
 {
-       if(srgb)
-               fmt = get_srgb_pixelformat(fmt);
        obj.storage(fmt, w, h, d);
 }