From: <dr...@bf...> - 2006-09-12 13:49:25
|
The attached patch enhances compatibility with QT 4.0 on Windows. QT implements an abstraction of an OpenGL context in its QGLContext class. To create a context QGLContext always calls wglCreateLayerContext() even though a call to wglCreateContext() would do. To account for this I changed the implementation of wglCreateLayirContext_prox() in opengl_stub/wgl.c such that it forwards the call to wglCreateContext_prox() if layerPlane == 0. Michael |