X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftexture.cpp;fp=source%2Ftexture.cpp;h=e6691b41616b6fc5ca0f297a96655d4a396c9d35;hp=381a0a59d6eaed1453fa965b6e9062ba7233dcec;hb=653a38d36c777161b6570cfdac3de51e3c2f1b86;hpb=da1e3f68e73cc0b6fb23e9dbae410cf9af3428a2 diff --git a/source/texture.cpp b/source/texture.cpp index 381a0a59..e6691b41 100644 --- a/source/texture.cpp +++ b/source/texture.cpp @@ -28,6 +28,7 @@ Texture::Texture(GLenum t, ResourceManager *m): format(RGB8), storage_fmt(RGB8), swizzle(NO_SWIZZLE), + use_srgb_format(false), auto_gen_mipmap(false), default_sampler(*this) {