i have a problem when i try to generate display lists in a thread.glGenLists(..) return GL_INVALID_OPERATION.
i have a OGL manager in a thread and many function use OGL in an other thread.
how can i resole this problem?
possibility to change the active thread?..
i use VC++6 on W2k.
Yeah I believe it is - although not advised. Think about it, the timeliness of the threads isn't concrete - you're not sure which function will complete first (worst case; It might not complete at all) and I'll bet calling wglMakeCurrent too often is expensive...