Fixed "homremoval" cvar disregards non-green resolutions

Status
Not open for further replies.

Lactozilla

Developer
Sonic Team Junior
FrailQuaintAntlion.gif


Line 777 of v_video.c checks for BASEVIDWIDTH and BASEVIDHEIGHT, rather than vid.width and vid.height:

Code:
if (x == 0 && y == 0 && w == BASEVIDWIDTH && h == BASEVIDHEIGHT)
{ // Clear the entire screen, from dest to deststop. Yes, this really works.
	memset(screens[0], (UINT8)(c&255), vid.width * vid.height * vid.bpp);
	return;
}

It conflicts with the actual homremoval code:

Code:
V_DrawFill(0, 0, vid.width, vid.height, 31);
 
Last edited by a moderator:
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top