niki 3 éve
szülő
commit
2010675bff
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/modules/graphics/vulkan/Graphics.cpp

+ 1 - 1
src/modules/graphics/vulkan/Graphics.cpp

@@ -2248,7 +2248,7 @@ void Graphics::getMaxUsableSampleCount() {
 }
 }
 
 
 void Graphics::createColorResources() {
 void Graphics::createColorResources() {
-	if (msaaSamples & VK_SAMPLE_COUNT_16_BIT) {
+	if (msaaSamples & VK_SAMPLE_COUNT_1_BIT) {
 		colorImage = VK_NULL_HANDLE;
 		colorImage = VK_NULL_HANDLE;
 		colorImageView = VK_NULL_HANDLE;
 		colorImageView = VK_NULL_HANDLE;
 	} 
 	}