SDL: just force the barrier on UpdateTexture actually

From 3eab5999773c59cebe471e76a043010d8bbbffc6 Mon Sep 17 00:00:00 2001
From: cosmonaut <[EMAIL REDACTED]>
Date: Mon, 30 Sep 2024 18:37:21 -0700
Subject: [PATCH] just force the barrier on UpdateTexture actually

---
 src/render/gpu/SDL_render_gpu.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/render/gpu/SDL_render_gpu.c b/src/render/gpu/SDL_render_gpu.c
index 2e8bb28e9ed9c..bf67551b9531a 100644
--- a/src/render/gpu/SDL_render_gpu.c
+++ b/src/render/gpu/SDL_render_gpu.c
@@ -303,8 +303,7 @@ static bool GPU_UpdateTexture(SDL_Renderer *renderer, SDL_Texture *texture,
     tex_dst.h = rect->h;
     tex_dst.d = 1;
 
-    bool cycle = texture->w == rect->w && texture->h == rect->h;
-    SDL_UploadToGPUTexture(cpass, &tex_src, &tex_dst, cycle);
+    SDL_UploadToGPUTexture(cpass, &tex_src, &tex_dst, false);
     SDL_EndGPUCopyPass(cpass);
     SDL_ReleaseGPUTransferBuffer(renderdata->device, tbuf);