View Full Version : wgl

01-07-2001, 12:10 AM

I use WGL to create a rendering context:

m_hRC = wglCreateContext(m_hDC);

It does not return NULL so it should have work, right?

After that I try to make this context current:

wglMakeCurrent(m_hDC, m_hRC);

After that I get the following debug error message:

WGL Message:System Error: (26):wglDrvCliSetContext

And nothing is drawn then.

Does anybody knnow what this error message means? Or does anybody know where I could get the meaning of theWGL error codes? That would be great http://www.opengl.org/discussion_boards/ubb/smile.gif Thank you in advance for any help!

01-07-2001, 04:32 AM
m_hDC=GetDC (hwnd);

01-07-2001, 06:33 AM
Thanks for your reply! I found the error. It was a driver bug http://www.opengl.org/discussion_boards/ubb/smile.gif

Thank you anyway!