mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Add ClearSurface()
This is a function that does what it says - it clears the given surface. This just means doing a FillRect(), but it's better to use this function because it conveys intent better.
This commit is contained in:
@@ -35,6 +35,8 @@ void FillRect( SDL_Surface* surface, SDL_Rect& rect, const int r, int g, int b )
|
||||
|
||||
void FillRect( SDL_Surface* surface, SDL_Rect rect, int rgba );
|
||||
|
||||
void ClearSurface(SDL_Surface* surface);
|
||||
|
||||
void ScrollSurface(SDL_Surface* _src, int pX, int py);
|
||||
|
||||
SDL_Surface * FlipSurfaceVerticle(SDL_Surface* _src);
|
||||
|
||||
Reference in New Issue
Block a user