Re: [TuxKart-users] Errors loading textures
Status: Alpha
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-12-11 04:43:38
|
Peter Hatch wrote: > The other problem I had is that using a Voodoo 3 under Windows I had to > set MESA_GLX_FX to something to get it to work, though that doesn't do > anything under Windows. I'd try fixing it myself, except I have no idea > how to check if someone is using a Voodoo under Windows. Hmmm - I guess that is kind anachronistic. I do two things with that variable: 1) On the title screen, I load a lower resolution texture for the Voodoo - and back when I wrote the code, that was a reasonable way to check for a Voodoo without the hassle of checking glGetString(GL_RENDERER). 2) I use that same environment variable to render a cursor (rather than using the one from the Windowing system)...and also to force the cursor into the center of the screen. Both of these things are needed for Voodoo-1 and -2, and also for Voodoo-3 in full-screen mode. In this case, it's not enough to know that it's a Voodoo card - you also need to know how it's been set up by the user. I guess the present check works under Linux/Mesa - but I have no idea how to tell what's going on under Windoze. I'll be *SO* glad when Voodoo-1/2's are out of circulation and the old full-screen-only drivers for Voodoo-3/4/5 are dead and buried. -- Steve Baker HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sourceforge.net http://tuxaqfh.sourceforge.net http://tuxkart.sourceforge.net http://prettypoly.sourceforge.net |