forked from libsdl-org/SDL
-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ogc: flush cache when updating textures (#40)
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.
- Loading branch information
Showing
1 changed file
with
19 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters