| 619 | } |
| 620 | |
| 621 | void |
| 622 | OSGLContext_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 |
nothing calls this directly
no test coverage detected