Skip to content
Snippets Groups Projects
Commit 6c4c1229 authored by SteelT's avatar SteelT
Browse files

Merge branch 'opengl-garbage-fade' into 'master'

Fix garbage fade on Sonic's ass in OpenGL

See merge request !715
parents 4b1a4027 f297f4ff
No related branches found
No related tags found
1 merge request!715Fix garbage fade on Sonic's ass in OpenGL
......@@ -651,8 +651,14 @@ void D_SRB2Loop(void)
// hack to start on a nice clear console screen.
COM_ImmedExecute("cls;version");
V_DrawScaledPatch(0, 0, 0, W_CachePatchNum(W_GetNumForName("CONSBACK"), PU_CACHE));
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 (;;)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment