\r
gp2x_video_changemode(gp2x_mode, Pico.m.pal);\r
\r
+ // clear whole screen in all buffers\r
+ if (!is_16bit_mode())\r
+ gp2x_memset_all_buffers(0, 0xe0, 320*240);\r
+ else\r
+ gp2x_memset_all_buffers(0, 0, 320*240*2);\r
+\r
Pico.m.dirtyPal = 1;\r
\r
// palette converters for 8bit modes\r
\r
gp2x_video_RGB_setscaling(ln_offs, scalex, scaley);\r
\r
-\r
// clear whole screen in all buffers\r
if (!is_16bit_mode())\r
gp2x_memset_all_buffers(0, 0xe0, 320*240);\r
void plat_video_toggle_renderer(int change, int is_menu)\r
{\r
change_renderer(change);\r
+ plat_video_clear_buffers();\r
\r
if (!is_menu) {\r
apply_renderer();\r