i use wglext for wglSwapIntervalEXT
but i cant resovle the link error. what dll do i need ofr wglext functions>
You must obtain a pointer to this functions. It cannot be directly linked. For example use this
PFNWGLSWAPINTERVALEXTPROC wglSwapIntervalEXT = wglGetProcAddress("wglSwapIntervalEXT");
Last edited by mfort; 05-26-2012 at 12:23 PM.
I get that the function was already defined in wglext, and that PROC cant be converted int PFNWGLSWAPINTERVALEXTPROC
Just cast it to the right type:
PFNWGLSWAPINTERVALEXTPROC wglSwapIntervalEXT = (PFNWGLSWAPINTERVALEXTPROC) wglGetProcAddress("wglSwapIntervalEXT");