mirror of
https://gitlab.com/octospacc/BloccSpacc
synced 2025-06-05 21:39:15 +02:00
Don't go outside the screen (memory corruptions)
This commit is contained in:
@@ -32,8 +32,8 @@ SDL_Surface * ScreenSet ( int Width, int Height, int Bits, SDL_Surface * Screen
|
||||
Screen = SDL_SetVideoMode ( Width, Height, Bits,
|
||||
//SDL_SWSURFACE //|
|
||||
SDL_HWSURFACE |
|
||||
SDL_DOUBLEBUF //|
|
||||
//SDL_RESIZABLE //|
|
||||
SDL_DOUBLEBUF |
|
||||
SDL_RESIZABLE //|
|
||||
//SDL_FULLSCREEN //|
|
||||
);
|
||||
return Screen;
|
||||
|
Reference in New Issue
Block a user