Guest User

Untitled

a guest
Jun 23rd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.19 KB | None | 0 0
  1. void ClearScreen()
  2. {
  3.     static Uint32 color = ::SDL_MapRGB(::global.video->format, CLEAR_SCREEN_COLOR_R, CLEAR_SCREEN_COLOR_G, CLEAR_SCREEN_COLOR_B);
  4.     ::SDL_FillRect(::global.video, 0, color);
  5. }
Add Comment
Please, Sign In to add comment