just force the barrier on UpdateTexture actually

This commit is contained in:
cosmonaut authored and Sam Lantinga committed 2024-09-30 19:47:27 -07:00
1 parent e17741a6cb
commit 3eab599977
1 file changed
+1 -2
+1 -2
View File
@@ -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);