vsync

how to enable vertical sync in opengl?

余生颓废 提交于 2019-11-27 11:47:23
How do you enable vertical sync? Is it something simple like glEnable(GL_VSYNC) ? (though there's no such thing as GL_VSYNC or anything like it in the options that glEnable accepts). or is there no standard way to do this in opengl? eugensk00 On Windows there is OpenGL extension method wglSwapIntervalEXT . From the post by b2b3 http://www.gamedev.net/community/forums/topic.asp?topic_id=360862 : If you are working on Windows you have to use extensions to use wglSwapIntervalExt function. It is defined in wglext.h. You will also want to download glext.h file. In wglext file all entry points for

how to enable vertical sync in opengl?

痴心易碎 提交于 2019-11-26 15:45:38
问题 How do you enable vertical sync? Is it something simple like glEnable(GL_VSYNC) ? (though there's no such thing as GL_VSYNC or anything like it in the options that glEnable accepts). or is there no standard way to do this in opengl? 回答1: On Windows there is OpenGL extension method wglSwapIntervalEXT . From the post by b2b3 http://www.gamedev.net/community/forums/topic.asp?topic_id=360862: If you are working on Windows you have to use extensions to use wglSwapIntervalExt function. It is