mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-22 15:02:20 +00:00
[CHG] When starting an GRRLIB application, the last rendered screen won't display for a split second anymore.
This commit is contained in:
parent
fc6019ae7b
commit
6c33b53d49
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue