X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftexture1d.cpp;h=e746409b8101dfca984017761e5a46998927edf8;hp=7466a9efa2bc0d0fb3ef9b48f2330bb8499b59cf;hb=8ed377139d48a6fc39eeed9f3494bbe41aed4107;hpb=abb4e50bdbb6d62d7e6ee249d52353ccf22762a4 diff --git a/source/texture1d.cpp b/source/texture1d.cpp index 7466a9ef..e746409b 100644 --- a/source/texture1d.cpp +++ b/source/texture1d.cpp @@ -160,8 +160,6 @@ void Texture1D::Loader::raw_data(const string &data) void Texture1D::Loader::storage(PixelFormat fmt, unsigned w) { - if(srgb) - fmt = get_srgb_pixelformat(fmt); obj.storage(fmt, w); }