Skip to content
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

ogc: flush cache when updating textures #40

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

mardy
Copy link
Collaborator

@mardy mardy commented Jan 17, 2024

The code in OGC_UpdateTexture was not calling DC_FlushRange() after modifying the texel data. Since the code obtained when adding this call is very similar to the implementation in OGC_UnlockTexture(), move the texture updating code into a common function.

The code in OGC_UpdateTexture was not calling DC_FlushRange() after
modifying the texel data. Since the code obtained when adding this call
is very similar to the implementation in OGC_UnlockTexture(), move the
texture updating code into a common function.
@WinterMute WinterMute merged commit a87e61a into devkitPro:ogc-sdl-2.28 Jan 17, 2024
14 checks passed
WinterMute pushed a commit that referenced this pull request Oct 27, 2024
The code in OGC_UpdateTexture was not calling DC_FlushRange() after
modifying the texel data. Since the code obtained when adding this call
is very similar to the implementation in OGC_UnlockTexture(), move the
texture updating code into a common function.
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.

2 participants