[CHG] When starting an GRRLIB application, the last rendered screen won't display for a split second anymore.

This commit is contained in:
Xane 2009-03-07 22:34:44 +00:00
parent fc6019ae7b
commit 6c33b53d49

View file

@ -952,7 +952,7 @@ void GRRLIB_Init() {
return; return;
VIDEO_SetNextFramebuffer(xfb[fb]); VIDEO_SetNextFramebuffer(xfb[fb]);
VIDEO_SetBlack(FALSE); VIDEO_SetBlack(true);
VIDEO_Flush(); VIDEO_Flush();
VIDEO_WaitVSync(); VIDEO_WaitVSync();
if (rmode->viTVMode&VI_NON_INTERLACE) if (rmode->viTVMode&VI_NON_INTERLACE)
@ -1018,6 +1018,7 @@ void GRRLIB_Init() {
GX_SetAlphaUpdate(GX_TRUE); GX_SetAlphaUpdate(GX_TRUE);
GX_SetCullMode(GX_CULL_NONE); GX_SetCullMode(GX_CULL_NONE);
VIDEO_SetBlack(false);
} }
/** /**