Browse Source

Fix explicit texture MSAA of 1 or 0 not being treated the same as the default

Alex Szpakowski 4 years ago
parent
commit
99875d83b3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/graphics/Texture.cpp

+ 1 - 1
src/modules/graphics/Texture.cpp

@@ -173,7 +173,7 @@ Texture::Texture(const Settings &settings, const Slices *slices)
 	, mipmapCount(1)
 	, pixelWidth(0)
 	, pixelHeight(0)
-	, requestedMSAA(settings.msaa)
+	, requestedMSAA(settings.msaa > 1 ? settings.msaa : 0)
 	, samplerState()
 	, graphicsMemorySize(0)
 	, usingDefaultTexture(false)