OpenGL Splitscreen Fix

First screen in split-screen is now not completely black.
This commit is contained in:
Sryder13 2014-03-31 00:07:55 +01:00
parent 9f0aacb059
commit d75d7cd09a

View file

@ -4635,6 +4635,7 @@ void HWR_RenderPlayerView(INT32 viewnumber, player_t *player)
ClearColor.blue = 0.0f;
ClearColor.alpha = 1.0f;
if (viewnumber == 0) // Only do it if it's the first screen being rendered
HWD.pfnClearBuffer(true, false, &ClearColor); // Clear the Color Buffer, stops HOMs. Also seems to fix the skybox issue on Intel GPUs.
if (skybox && drawsky) // If there's a skybox and we should be drawing the sky, draw the skybox