View Full Version : Can wglMakeCurrent make deadlock?
05-11-2007, 12:22 AM
when i run ogl program on some computers,it just stoped at the function of wglMakeCurrent like deadlock. no error was reported. but it would work correctly on other computers.who can tell me why?
05-11-2007, 02:01 AM
Do you have multiple threads and calling wglMakeCurrent for the same context in each?
If that is the case, I suggest that you change it and have only 1 thread, the primary thread, do all GL calls.
Also, what hw, what drivers?
05-13-2007, 09:03 PM
there is just one thread and the program can run correctly on other computers.
the run error computer's hardware:
video card: sis 651
driver: sisgrv.dll version: 6.14.0010.2220
05-13-2007, 10:52 PM
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.