default mdldlist to 0 for S3 Graphics (still has bugs)

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3758 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-11-25 19:06:55 +00:00
parent 75551b478c
commit c3eb544c54
+9
View File
@@ -97,6 +97,15 @@ void gl_checkextensions()
extern int waterreflect, waterrefract;
waterreflect = waterrefract = 0;
}
#ifdef WIN32
if(strstr(vendor, "S3 Graphics"))
{
// official UniChrome drivers can't handle glDrawElements inside a display list without bugs
extern int mdldlist;
mdldlist = 0;
}
#endif
}
void gl_init(int w, int h, int bpp, int depth, int fsaa)