Fixed VULKAN_UpdateViewport judgment.

This commit is contained in:
华仔 2024-10-19 09:41:26 +08:00 committed by Sam Lantinga
parent 4c2d0c422b
commit 5c1ccaefae

View File

@ -3544,7 +3544,7 @@ static bool VULKAN_SetDrawState(SDL_Renderer *renderer, const SDL_RenderCommand
}
if (rendererData->viewportDirty) {
if (!VULKAN_UpdateViewport(renderer)) {
if (VULKAN_UpdateViewport(renderer)) {
// vertexShaderConstantsData.projectionAndView has changed
updateConstants = true;
}