Skip to content

Commit e6e9a5a

Browse files
wiiu/render/SetRenderTarget: Remove unneeded GPU synchronization
Co-authored-by: Wohlstand <admin@wohlnet.ru>
1 parent ac7a60a commit e6e9a5a

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/render/wiiu/SDL_render_wiiu.c

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

191-
/* Wait for the texture rendering to finish if it is still in use by the GPU */
192-
if (WIIU_TextureInUse(data, tdata)) {
193-
WIIU_TextureWaitDone(data, tdata);
194-
}
195-
196191
/* Update context state */
197192
GX2SetColorBuffer(&tdata->cbuf, GX2_RENDER_TARGET_0);
198193

0 commit comments

Comments
 (0)