Thanks for glfw3, works great! I am just struggling with a few minor issues. I am unable to get anti-alias and vsync in 3.0 (both worked in 2.x). I am using:
Also, how do I query for number of samples when rendering with anti-alias? in 2.x I could get the number of samples by calling:
As I understand I should use:
Thank you for reading, any insights into this would be appreciated.
For the first issue, see the GLFW_USE_DWM_SWAP_INTERVAL CMake option.
For the second, GLFW_SAMPLES is not a window attribute. Use glGetInteger.
The token is called GL_SAMPLES.
Oh, I forgot to mention that I tried the DWM option in cmake, no luck... frame drop to around 10-15fps.
Does multisampling work with the fsaa test?
fsaa tests does not work, the console reports four samples but both the squeares have jagged edges.
The Anti alias option in the Catalyst control center is set to "Use application settings" and v-sync is set to "Off unless application specifies"
This post is going a bit off topic, anyway... I got both 2.7.9 and 3.0.3 installed on my system. I tried the fsaa demo in both "tests" folders.
The 2.7.9 program displayed two anti aliased quads using the same CatalystCC settings as the 3.0.3 program (Use application settings). I guess one of the quads should be rendered with anti alias on and the other one not... judging from the source.
Thanks for looking into this!