Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master
[platform/upstream/VK-GL-CTS.git] / external / vulkancts / modules / vulkan / api / vktApiImageClearingTests.cpp
index b167d85..3eeabd2 100644 (file)
@@ -151,7 +151,7 @@ deUint32 greatestCommonDivisor (const deUint32 a, const deUint32 b)
        deUint32 x=a;
        deUint32 y=b;
 
-       while (x%b != 0)
+       while (x%y != 0)
        {
                temp = y;
                y = x%y;