mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-12 09:09:29 +01:00
Vulkan: Type comparison warning fix.
This commit is contained in:
1 parent
3b0f7e109d
commit
184d4a1fc0
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user