X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftexturecube.cpp;h=8306324153747078300a9b593d392d78f91cd5a6;hp=03e65167d73fee7a1d89ba9ea3cea7ef2c68d81d;hb=8ed377139d48a6fc39eeed9f3494bbe41aed4107;hpb=abb4e50bdbb6d62d7e6ee249d52353ccf22762a4 diff --git a/source/texturecube.cpp b/source/texturecube.cpp index 03e65167..83063241 100644 --- a/source/texturecube.cpp +++ b/source/texturecube.cpp @@ -285,8 +285,6 @@ void TextureCube::Loader::raw_data(TextureCubeFace face, const string &data) void TextureCube::Loader::storage(PixelFormat fmt, unsigned s) { - if(srgb) - fmt = get_srgb_pixelformat(fmt); obj.storage(fmt, s); }