mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 15:01:41 +00:00
Tighten up checks for 3dfx in gl_draw.c and restore default gl_texturemode to old setting.
This commit is contained in:
parent
fd3eafac77
commit
e884846d57
2 changed files with 3 additions and 2 deletions
|
@ -259,7 +259,8 @@ Draw_Init (void)
|
|||
|
||||
// LordHavoc: 3DFX's dithering has terrible artifacts with lightmode 1
|
||||
// 3dfx can only handle 256 wide textures
|
||||
if (!strncasecmp ((char *) gl_renderer, "3dfx", 4))
|
||||
if (!strncasecmp ((char *) gl_renderer, "3dfx", 4) ||
|
||||
!strngcasecmp ((char *) gl_renderer, "Mesa Glide", 10))
|
||||
{
|
||||
Cvar_Set (gl_max_size, "256");
|
||||
Cvar_Set (gl_lightmode, "0");
|
||||
|
|
|
@ -127,7 +127,7 @@ static glformat_t formats[] = {
|
|||
{"GL_RGBA16", GL_RGBA16}
|
||||
};
|
||||
|
||||
int gl_filter_min = GL_LINEAR_MIPMAP_LINEAR, gl_filter_max = GL_LINEAR;
|
||||
int gl_filter_min = GL_LINEAR_MIPMAP_NEAREST, gl_filter_max = GL_LINEAR;
|
||||
int gl_alpha_format = 4, gl_lightmap_format = 4, gl_solid_format = 3;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue