tests: Fix copy&paste error in a comment in vkrenderframework
authorGabríel Arthúr Pétursson <gabriel@system.is>
Wed, 21 Mar 2018 23:55:55 +0000 (23:55 +0000)
committerDave Houlton <daveh@lunarg.com>
Wed, 4 Apr 2018 22:16:14 +0000 (16:16 -0600)
tests/vkrenderframework.cpp

index 0c05308..9d2fd12 100644 (file)
@@ -1315,8 +1315,8 @@ void VkPipelineObj::SetViewport(const vector<VkViewport> viewports) {
 
 void VkPipelineObj::SetScissor(const vector<VkRect2D> scissors) {
     m_scissors = scissors;
-    // If we explicitly set a null scissors, pass it through to create info
-    // but preserve viewportCount because it musn't change
+    // If we explicitly set a null scissor, pass it through to create info
+    // but preserve scissorCount because it musn't change
     if (m_scissors.size() == 0) {
         m_vp_state.pScissors = nullptr;
     }