Browse Source

vulkan: fix typo

niki 2 years ago
parent
commit
2010675bff
1 changed files with 1 additions and 1 deletions
  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;
 	} 
 	}