Speed problems with OpenGL.

Speaking of WGL_swap_EXT: the default value of 1 works fine on my Riva TNT2 64; when I set it to 0 (no sync), I get around 30% fps
increase but the image is torn during movement. When I set to >1, it slows down.
My question therefore is: how can you use this extension to your advantage?
Thanks,

hehe thats really cool
like wow far out
the advantage is u get to choose do u want 30% speed or a non tearing screen

huh, huh, hey butthead, thanks for, like, an advice or somethin…

But seriously: this choice sucks! tearing screen is out of the question coz it really looks bad… so I’m stuck with the default.

I don’t know what you’re expecting… that’s the normal behavior for that extension. A value of n means wait for n vsyncs. So if your refresh rate is 100 Hz, n=1 will cap your framerate at 100 Hz, while n=2 will cap it at 50 Hz, and so on.

  • Matt

I see. I was getting the tearing effect because I was not setting the Hz explicitly when going to fullscreen and a standard 60Hz was used. When I set it to 85Hz and passed 0 to the WGL_swap_ext, the framerate increased and the tearing was gone.

thanks for clarifying that…