mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-11-23 10:53:27 +08:00
Fixed VULKAN_UpdateViewport judgment.
This commit is contained in:
parent
4c2d0c422b
commit
5c1ccaefae
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user