CLEARSCREEN RGB(r,g,b) doesn't work correctly with GP2X Wiz

Previous topic - Next topic

MacReeg

Hi!

At the moment I work on a little game for the GP2X Wiz. I try to clear my backbuffer with a defined color but CLEARSCREEN RGB(r,g,b) doesn't work correctly. It works fine with Windows but not really with the Wiz. I use GLBasic IDE, Version: 10.283

Greets, MacReeg.

erico

If you need an alternative, try drawing a big rectangle screen size the color you want (drawrect 0,0,320,240,rgb(r,g,b)). Heard that works fine.
Had a similar issue on caanoo long time ago.
Hope it helps. :good:

MacReeg

@erico: Thanks for your help, I will do this.

@Kitty hello: Is there a performance difference between CLEARSCREEN and DRAWRECT?