X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftexture2d.cpp;h=806e4a179bded9f8a71264ecce78bccafc529870;hp=45c2e665d056973ee4ecdb41eb6033dd831c2b5b;hb=8ed377139d48a6fc39eeed9f3494bbe41aed4107;hpb=abb4e50bdbb6d62d7e6ee249d52353ccf22762a4 diff --git a/source/texture2d.cpp b/source/texture2d.cpp index 45c2e665..806e4a17 100644 --- a/source/texture2d.cpp +++ b/source/texture2d.cpp @@ -218,8 +218,6 @@ void Texture2D::Loader::raw_data(const string &data) void Texture2D::Loader::storage(PixelFormat fmt, unsigned w, unsigned h) { - if(srgb) - fmt = get_srgb_pixelformat(fmt); obj.storage(fmt, w, h); }