MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / swapInterval

Method swapInterval

Engine/OSGLContext_win.cpp:621–631  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

619}
620
621void
622OSGLContext_win::swapInterval(int interval)
623{
624 _interval = interval;
625
626 const OSGLContext_wgl_data* wglInfo = appPTR->getWGLData();
627 assert(wglInfo);
628 if (wglInfo->EXT_swap_control) {
629 wglInfo->SwapIntervalEXT(interval);
630 }
631}
632
633// A valid context must be bound
634// http://developer.download.nvidia.com/opengl/specs/GL_NVX_gpu_memory_info.txt

Callers

nothing calls this directly

Calls 1

getWGLDataMethod · 0.80

Tested by

no test coverage detected