From 560b11de262a6cae2c71d744598bf3fd435ab14f Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Tue, 19 Apr 2022 11:40:32 +0300 Subject: [PATCH] Set mip levels of multisample textures to 1 --- source/core/texture2dmultisample.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/core/texture2dmultisample.cpp b/source/core/texture2dmultisample.cpp index 72c5f129..08e7168a 100644 --- a/source/core/texture2dmultisample.cpp +++ b/source/core/texture2dmultisample.cpp @@ -24,6 +24,7 @@ void Texture2DMultisample::storage(PixelFormat fmt, unsigned wd, unsigned ht, un width = wd; height = ht; samples = sm; + n_levels = 1; allocate(); } -- 2.43.0