Mirror and Flip stamps were not working.
This commit is contained in:
parent
35f7ebd482
commit
dd4ec4bd2c
1 changed files with 2 additions and 0 deletions
|
|
@ -6621,6 +6621,7 @@ SDL_Surface *mirror_surface(SDL_Surface * s)
|
|||
/* Mirror surface: */
|
||||
|
||||
new_surf = duplicate_surface(s);
|
||||
SDL_SetSurfaceBlendMode(s, SDL_BLENDMODE_NONE);
|
||||
|
||||
if (new_surf != NULL)
|
||||
{
|
||||
|
|
@ -6657,6 +6658,7 @@ SDL_Surface *flip_surface(SDL_Surface * s)
|
|||
/* Flip surface: */
|
||||
|
||||
new_surf = duplicate_surface(s);
|
||||
SDL_SetSurfaceBlendMode(s, SDL_BLENDMODE_NONE);
|
||||
|
||||
if (new_surf != NULL)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue