From: Andy S. <an...@gu...> - 2000-05-26 18:16:20
|
3dfx Glide version 3 doesn't have a grSstQueryHardware function. I gather this is why the FX_grSstQueryHardware wrappers exist in the src/FX tree. But it turns out that X/xmesa1.c uses grSstQueryHardware to determine whether a 3dfx card is really installed, which resulted in linking problems when trying to run mesa3d apps. This seems to take care of it: Index: src/X/xmesa1.c =================================================================== RCS file: /cvsroot/mesa3d/Mesa/src/X/xmesa1.c,v retrieving revision 1.7.2.3 diff -u -r1.7.2.3 xmesa1.c --- src/X/xmesa1.c 2000/05/20 23:17:37 1.7.2.3 +++ src/X/xmesa1.c 2000/05/26 17:37:09 @@ -2073,7 +2073,7 @@ const char *fx = getenv("MESA_GLX_FX"); if (fx && fx[0] != 'd') { GrHwConfiguration hw; - if (!grSstQueryHardware(&hw)) + if (!FX_grSstQueryHardware(&hw)) return GL_FALSE; if (hw.num_sst < 1) return GL_FALSE; I know this problem exists in the current mesa_3_2_dev branch, but I don't know about the status of the other branches. -Andy |