Hi!
I’m writing an editor that uses 4 windows with OpenGL. When I start my program, I get the following error message: “wglMakeCurrent failed”.
Can anybody tell me what I’m doing wrong?
Thanks in advance
(… and sorry my bad english )
Hi!
I’m writing an editor that uses 4 windows with OpenGL. When I start my program, I get the following error message: “wglMakeCurrent failed”.
Can anybody tell me what I’m doing wrong?
Thanks in advance
(… and sorry my bad english )
Originally posted by monoboxer:
[b]Hi!
I’m writing an editor that uses 4 windows with OpenGL. When I start my program, I get the following error message: “wglMakeCurrent failed”.
Can anybody tell me what I’m doing wrong?
Thanks in advance
(… and sorry my bad english )[/b]
I’m pretty sure you must release the HGLRC
for the previous window. (NULL,NULL)
Check around and you should find plenty
of examples.