Quiest
I like turtles!
Hello again.
I'm in the state of rewriting Unicolor, and I finally tested a new version on the GP2X,
just to see that there is a lot flickering going on on the screen parts that get not update / where
no blits happen.
While it looks fine on PC (the image remains as it was blitted before) it switches from
black to the image to black to the image, etc.
I can only guess this has something to do with double buffering?
How can I solve this problem? Just use no double buffering?
I'm in 16bit mode, btw.
Here's my init code for the screen:
CODE
SDL_SetVideoMode( x_res, y_res, bitmode, SDL_HWSURFACE | SDL_HWPALETTE | SDL_DOUBLEBUF | ( fullscreen ? SDL_FULLSCREEN : 0 ) );
I'm in the state of rewriting Unicolor, and I finally tested a new version on the GP2X,
just to see that there is a lot flickering going on on the screen parts that get not update / where
no blits happen.
While it looks fine on PC (the image remains as it was blitted before) it switches from
black to the image to black to the image, etc.
I can only guess this has something to do with double buffering?
How can I solve this problem? Just use no double buffering?
I'm in 16bit mode, btw.
Here's my init code for the screen:
CODE
SDL_SetVideoMode( x_res, y_res, bitmode, SDL_HWSURFACE | SDL_HWPALETTE | SDL_DOUBLEBUF | ( fullscreen ? SDL_FULLSCREEN : 0 ) );