]> git.tdb.fi Git - libs/gl.git/commitdiff
Initialize Texture::use_srgb_format
authorMikko Rasa <tdb@tdb.fi>
Sun, 7 Feb 2021 16:20:01 +0000 (18:20 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 7 Feb 2021 16:20:01 +0000 (18:20 +0200)
source/texture.cpp

index 381a0a59d6eaed1453fa965b6e9062ba7233dcec..e6691b41616b6fc5ca0f297a96655d4a396c9d35 100644 (file)
@@ -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)
 {