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?
This is not !!! The extension you’re talking about is this one:
regarding the function you stippled.
If you reread my initial post you will see that I mentioned both.
I tried SGI_swap_control (which introduces glXSwapIntervalSGI) and it did not give me what I wanted. So I asked about SGI_video_sync (which introduces glXGetVideoSyncSGI and glXWaitVideoSyncSGI).
If nothing else at least I learned that it is better to use the extension names and not the function names when talking about extensions.
So does anyone have any experience using SGI_video_sync that he wants to share with me?
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.