Hello all, I've just started to develop SDL programs for the gp2x in the normal 320x240 resolution and I would like to know if there's a way to make a program that runs (fullscreen) in a lower resolution, such as 160x120 or even 80x60.
(I have an idea for a pixel-art style game so lower resolution would be useful).
- I've tried changing the videomode like this
screen = SDL_SetVideoMode( 160, 120, 32, SDL_SWSURFACE);
works fine in windows but it seems to make it crash on the gp2x
I hope there's a simple way to do it otherwise I'm gonna have to come up with some crazy method that makes like four pixels for every pixel and arrrgh. lol
PS: Anyone know why sometimes when I have SDL_ShowCursor(SDL_DISABLE); it still shows the cursor?
Thanks in advance everyone!!
-Myke
(I have an idea for a pixel-art style game so lower resolution would be useful).
- I've tried changing the videomode like this
screen = SDL_SetVideoMode( 160, 120, 32, SDL_SWSURFACE);
works fine in windows but it seems to make it crash on the gp2x
I hope there's a simple way to do it otherwise I'm gonna have to come up with some crazy method that makes like four pixels for every pixel and arrrgh. lol
PS: Anyone know why sometimes when I have SDL_ShowCursor(SDL_DISABLE); it still shows the cursor?
Thanks in advance everyone!!
-Myke