satan
02-01-2006, 03:37 PM
Hello everyone,
my actual app suffers alot from tearing. So I enabled vsync by using glXSwapIntervalSGI. Since not everybody will like vsync enabled I thought about adding an option to disable it but I do not know how. I have read in the specs that on windows you can pass 0 to the corresponding function but for glXSwapIntervalSGI it is stated that passing zero will return a GLX_BAD_VALUE.
As far as I could tell from the specs glXGet/WaitVideoSyncSGI will give me the means to perform the vsyncing myself, am I better of using these?
tia
my actual app suffers alot from tearing. So I enabled vsync by using glXSwapIntervalSGI. Since not everybody will like vsync enabled I thought about adding an option to disable it but I do not know how. I have read in the specs that on windows you can pass 0 to the corresponding function but for glXSwapIntervalSGI it is stated that passing zero will return a GLX_BAD_VALUE.
As far as I could tell from the specs glXGet/WaitVideoSyncSGI will give me the means to perform the vsyncing myself, am I better of using these?
tia