From: Mikko Rasa Date: Tue, 19 Apr 2022 08:40:32 +0000 (+0300) Subject: Set mip levels of multisample textures to 1 X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=560b11de262a6cae2c71d744598bf3fd435ab14f;p=libs%2Fgl.git Set mip levels of multisample textures to 1 --- 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(); }