Duane Clark wrote:
The patch for dynamic loading of opengl, http://www.winehq.com/hypermail/wine-cvs/2002/11/0151.html
has caused a (apparently minor) regression in the program earthquake http://www.navagent.com/products/earthquake/
And as a bit more information, this is the chunk that does it.
--- wine/dlls/x11drv/x11drv_main.c:1.64 Mon Nov 25 19:04:54 2002 +++ wine/dlls/x11drv/x11drv_main.c Mon Nov 25 19:04:54 2002 @@ -313,8 +317,11 @@ } else screen_depth = DefaultDepthOfScreen( screen );
+ /* Initialize OpenGL */ + X11DRV_OpenGL_Init(display); + /* If OpenGL is available, change the default visual, etc as necessary */ - if ((desktop_vi = X11DRV_setup_opengl_visual( display ))) + if (desktop_dbl_buf && (desktop_vi = X11DRV_setup_opengl_visual( display ))) { visual = desktop_vi->visual; screen = ScreenOfDisplay(display, desktop_vi->screen);