X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftexture3d.cpp;h=7c4b04469d23a0b17961543cf34ff9e21688977a;hp=ed5619cb4aed30f567cf7e3e063a7ad05f60fd27;hb=e16855bccb78c721e2fe3f2ea8fc0310e041cb43;hpb=40e1eba6c489e11a4c9b8865ddcd3ec3d9f83818 diff --git a/source/texture3d.cpp b/source/texture3d.cpp index ed5619cb..7c4b0446 100644 --- a/source/texture3d.cpp +++ b/source/texture3d.cpp @@ -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); }