G
Guest
Hi all.
I'm working with the Tao OpenGL libraries for C# but ran into a problem
getting a function to work.
What I've done is:
// Set current context
Wgl.wglMakeCurrent(hDC, hRC);
// get entry point of the function
IntPtr pfnColorTableEXT = Wgl.wglGetProcAddress("glColorTableEXT");
// I have a value other than Zero at this point.
// How do I create a delegate or function pointer to this entry point?
Any help would be appreciated.
Dennis
I'm working with the Tao OpenGL libraries for C# but ran into a problem
getting a function to work.
What I've done is:
// Set current context
Wgl.wglMakeCurrent(hDC, hRC);
// get entry point of the function
IntPtr pfnColorTableEXT = Wgl.wglGetProcAddress("glColorTableEXT");
// I have a value other than Zero at this point.
// How do I create a delegate or function pointer to this entry point?
Any help would be appreciated.
Dennis