Vulkan: Type comparison warning fix.

This commit is contained in:
Unknown W. Brackets 2020-08-27 20:01:59 -07:00
parent 3b0f7e109d
commit 184d4a1fc0

View file

@ -589,7 +589,7 @@ void VulkanQueueRunner::ApplyMGSHack(std::vector<VKRStep *> &steps) {
VKRFramebuffer *depalFramebuffer = steps[i]->render.framebuffer;
VKRFramebuffer *targetFramebuffer = steps[i + 1]->render.framebuffer;
// OK, found the start of a post-process sequence. Let's scan until we find the end.
for (int j = i; j < steps.size() - 3; j++) {
for (int j = i; j < (int)steps.size() - 3; j++) {
if (((j - i) & 1) == 0) {
// This should be a depal draw.
if (steps[j]->render.numDraws != 1)