Hi Folks,
I’m working on a 3D Chemistry application for Windows. It’s single-threaded MFC, using the MDI model. When rendering into a view, I am calling “wglMakeCurrent()”, and getting the following error:
“Clipping operation not supported”
I’m not sure what is causing this. The error happens when calling wglMakeCurrent() later in the program after the context has been created and made current for the first time. I do this before rendering a view to make sure that the correct context is being used in the case where there is more than one view.
I’ve read in MSDN that “GDI transformation and clipping in hdc are not supported by the rendering context”, but I’m not sure how this applies. As far as I know, there is no clipping being requested.
I’ve had success with a single view when only calling wglMakeCurrent() once after creating the context, and never after that.
Thanks for any help; I’m still learning about Win32 & MFC programming.
Dan