-
wglSwapIntervalEXT
i use wglext for wglSwapIntervalEXT
but i cant resovle the link error. what dll do i need ofr wglext functions>
-
Member
Regular Contributor
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.
Reason: typo
-
I get that the function was already defined in wglext, and that PROC cant be converted int PFNWGLSWAPINTERVALEXTPROC
-
Member
Regular Contributor
Just cast it to the right type:
PFNWGLSWAPINTERVALEXTPROC wglSwapIntervalEXT = (PFNWGLSWAPINTERVALEXTPROC) wglGetProcAddress("wglSwapIntervalEXT");
-
thanks man
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules