Skip to content

Commit e24b719

Browse files
wiiu/render/SetRenderTarget: Remove unneeded GPU synchronization
Co-authored-by: Wohlstand <[email protected]>
1 parent d6e0d29 commit e24b719

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/render/wiiu/SDL_render_wiiu.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,6 @@ int WIIU_SDL_SetRenderTarget(SDL_Renderer * renderer, SDL_Texture * texture)
197197
/* make sure we're using the correct renderer ctx */
198198
GX2SetContextState(data->ctx);
199199

200-
/* Wait for the texture rendering to finish if it is still in use by the GPU */
201-
if (WIIU_TextureInUse(data, tdata)) {
202-
WIIU_TextureWaitDone(data, tdata);
203-
}
204-
205200
/* Update context state */
206201
GX2SetColorBuffer(&tdata->cbuf, GX2_RENDER_TARGET_0);
207202

0 commit comments

Comments
 (0)