X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftexture2d.cpp;h=806e4a179bded9f8a71264ecce78bccafc529870;hp=45c2e665d056973ee4ecdb41eb6033dd831c2b5b;hb=aea9ceca71b59358248be94fdf272fd4791ca990;hpb=40e1eba6c489e11a4c9b8865ddcd3ec3d9f83818 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); }