Skip to content

Replaced the call of WIIU_SDL_SetRenderTarget with the GX2SetContextState #106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: wiiu-sdl2-2.28
Choose a base branch
from

Conversation

Wohlstand
Copy link

It's unnecessary to call the WIIU_SDL_SetRenderTarget at WIIU_SDL_RunCommandQueue for every time the function is called. It's enough to call the GX2SetContextState if it's a necessary to run this operation here.

Existing Issue(s)

It's addition to PR #105 to make it more completed after changes done over.

At begin of every WIIU_SDL_RunCommandQueue call is unnecessary to call the WIIU_SDL_SetRenderTarget(), and it's enough to just call the GX2SetContextState(data->ctx);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant