From 653a38d36c777161b6570cfdac3de51e3c2f1b86 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 7 Feb 2021 18:20:01 +0200 Subject: [PATCH] Initialize Texture::use_srgb_format --- source/texture.cpp | 1 + 1 file changed, 1 insertion(+) 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) { -- 2.45.2