View Single Post
Old 01-25-03, 12:30 AM   #4
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Those commands are not meant for the XF86Config file. What they do is set shell variables that the glXSwapBuffers (for example -- this is the function that looks for __GL_SYNC_TO_VBLANK, others look for the FSAA and aniso flags) function can look at when a program is run.

You type the exports directly into the shell that you start a GL program from. At least, that's the easiest way. You can do it from rc.local, if you always use the same settings.

But you don't do export __GL_FSAA_MODE 1, you do an export __GL_FSAA_MODE=1 instead -- notice the =? The same goes for any export. The important thing is to make sure the case is correct (all uppercase) and the spelling is correct, because you very likely won't get any errors if you mistype the variable's name, you just won't get FSAA when you run the program.

If you type this into a terminal emulator, then you have to start the game (or whatever) from that same shell or a subshell.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote