mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-15 16:41:22 +00:00
gl_vidsdl.c: remove AMD driver special case which disabled GLSL mdl renderer, as the latest drivers fixed the bug that was working around
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1178 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
97ead9e294
commit
51ece3297d
1 changed files with 1 additions and 15 deletions
|
@ -1154,21 +1154,7 @@ static void GL_CheckExtensions (void)
|
||||||
Con_Warning ("GLSL alias model rendering disabled at command line\n");
|
Con_Warning ("GLSL alias model rendering disabled at command line\n");
|
||||||
else if (gl_glsl_able && gl_vbo_able && gl_max_texture_units >= 3)
|
else if (gl_glsl_able && gl_vbo_able && gl_max_texture_units >= 3)
|
||||||
{
|
{
|
||||||
qboolean broken = false;
|
gl_glsl_alias_able = true;
|
||||||
// Ugly hack to disable GLSL alias renderer on ATI/Win32
|
|
||||||
// (black model bug observed by szo)
|
|
||||||
#if defined(_WIN32)
|
|
||||||
if (strstr(gl_vendor, "ATI"))
|
|
||||||
broken = true;
|
|
||||||
#endif
|
|
||||||
if (broken && !COM_CheckParm("-glslalias"))
|
|
||||||
{
|
|
||||||
Con_Warning ("Unsupported hardware, GLSL alias rendering disabled (use -glslalias to force enable)\n");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
gl_glsl_alias_able = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue