mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 20:20:43 +00:00
Mysteriously uncommitted. Fixed.
This commit is contained in:
parent
1181fb267b
commit
654cc35482
1 changed files with 3 additions and 2 deletions
|
@ -114,10 +114,11 @@ gl_max_size_f (cvar_t *var)
|
||||||
|
|
||||||
// Check driver's max texture size
|
// Check driver's max texture size
|
||||||
qfglGetIntegerv (GL_MAX_TEXTURE_SIZE, &texSize);
|
qfglGetIntegerv (GL_MAX_TEXTURE_SIZE, &texSize);
|
||||||
|
|
||||||
if (var->int_val < 1)
|
if (var->int_val < 1)
|
||||||
Cvar_SetValue (var, texSize);
|
Cvar_SetValue (var, texSize);
|
||||||
else
|
else
|
||||||
Cvar_SetValue (var, bound (1, var->int_val, texSize));
|
Cvar_SetValue (var, bound (1, var->int_val, texSize));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -146,7 +147,7 @@ gl_tessellate_f (cvar_t * var)
|
||||||
tess = 0;
|
tess = 0;
|
||||||
if (var)
|
if (var)
|
||||||
Con_Printf ("TruForm (GL_ATI_pn_triangles) is not supported by "
|
Con_Printf ("TruForm (GL_ATI_pn_triangles) is not supported by "
|
||||||
"your hardware and/or drivers.");
|
"your hardware and/or drivers.\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue