mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'opengl-garbage-fade' into 'master'
Fix garbage fade on Sonic's ass in OpenGL See merge request STJr/SRB2!715
This commit is contained in:
commit
0cba39d7a4
1 changed files with 7 additions and 1 deletions
|
|
@ -651,8 +651,14 @@ void D_SRB2Loop(void)
|
||||||
// hack to start on a nice clear console screen.
|
// hack to start on a nice clear console screen.
|
||||||
COM_ImmedExecute("cls;version");
|
COM_ImmedExecute("cls;version");
|
||||||
|
|
||||||
V_DrawScaledPatch(0, 0, 0, W_CachePatchNum(W_GetNumForName("CONSBACK"), PU_CACHE));
|
|
||||||
I_FinishUpdate(); // page flip or blit buffer
|
I_FinishUpdate(); // page flip or blit buffer
|
||||||
|
/*
|
||||||
|
LMFAO this was showing garbage under OpenGL
|
||||||
|
because I_FinishUpdate was called afterward
|
||||||
|
*/
|
||||||
|
/* Smells like a hack... Don't fade Sonic's ass into the title screen. */
|
||||||
|
if (gamestate != GS_TITLESCREEN)
|
||||||
|
V_DrawScaledPatch(0, 0, 0, W_CachePatchNum(W_GetNumForName("CONSBACK"), PU_CACHE));
|
||||||
|
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue