mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
Warn users if their system doesn't support GL_ATI_pn_triangles.
This commit is contained in:
parent
e763507c71
commit
31aca31d17
1 changed files with 4 additions and 1 deletions
|
@ -144,6 +144,9 @@ gl_tessellate_f (cvar_t * var)
|
|||
qfglPNTrianglesiATI (GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI, tess);
|
||||
} else {
|
||||
tess = 0;
|
||||
if (var)
|
||||
Con_Printf ("TruForm (GL_ATI_pn_triangles) is not supported by "
|
||||
"your hardware and/or drivers.");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -219,7 +222,7 @@ CheckTruFormExtensions (void)
|
|||
qfglGetIntegerv (GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI,
|
||||
&tess_max);
|
||||
qfglPNTrianglesiATI (GL_PN_TRIANGLES_NORMAL_MODE_ATI,
|
||||
GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI);
|
||||
GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI);
|
||||
qfglPNTrianglesiATI (GL_PN_TRIANGLES_POINT_MODE_ATI,
|
||||
GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue