doragasu
Member
- Joined
- Jun 2, 2008
- Messages
- 325
Hi guys.
I'm porting to OpenPandora L'Abbaye des Morts.
I got everything working, but the game ran a bit slow even at 800 MHz. The game internals are 320x240, but to display the window fullscreen, it creates a 640x480 window and before drawing the screen, it uses zoomSurface(pWindow, 2, 2, 0) to convert it to 640x480.
I tried creating a 320x240 window and removing the zoomSurface() function, and the game runs fullspeed, but when I switch fullscreen using SDL_WM_ToggleFullScreen(pWindow), the 320x240 screen isn't stretched to 640x480, .
¿How can I stretch the graphics fullscreen without a big performance penalty?
I'm porting to OpenPandora L'Abbaye des Morts.
I got everything working, but the game ran a bit slow even at 800 MHz. The game internals are 320x240, but to display the window fullscreen, it creates a 640x480 window and before drawing the screen, it uses zoomSurface(pWindow, 2, 2, 0) to convert it to 640x480.
I tried creating a 320x240 window and removing the zoomSurface() function, and the game runs fullspeed, but when I switch fullscreen using SDL_WM_ToggleFullScreen(pWindow), the 320x240 screen isn't stretched to 640x480, .
¿How can I stretch the graphics fullscreen without a big performance penalty?
Last edited by a moderator: