First post here. :)
I'm trying to clear screen using sceGuClear. It works with pixel
format 8888, but with the rest of the display modes it fails.
I'm doing it like this:
Code: Select all
void ClearScreen(u32 uColor) {
sceKernelDcacheWritebackAll();
sceGuStart(GU_DIRECT, s_iGuCmdList);
sceGuClearColor(uColor | 0xFF000000);
sceGuClear(GU_COLOR_BUFFER_BIT);
sceGuFinish();
sceGuSync(0, 0);
}
What am I missing?
Thanks!
EDIT: Ok, the problem was buggy display mode setting. (Dough!)