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”);
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”);
thanks man
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.