X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftexture3d.cpp;h=7c4b04469d23a0b17961543cf34ff9e21688977a;hp=ed5619cb4aed30f567cf7e3e063a7ad05f60fd27;hb=8ed377139d48a6fc39eeed9f3494bbe41aed4107;hpb=abb4e50bdbb6d62d7e6ee249d52353ccf22762a4 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); }