From: Mikko Rasa Date: Sun, 7 Feb 2021 16:20:01 +0000 (+0200) Subject: Initialize Texture::use_srgb_format X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=653a38d36c777161b6570cfdac3de51e3c2f1b86;p=libs%2Fgl.git Initialize Texture::use_srgb_format --- 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) {