patch opengl.c, wgl.c

Vitaliy Margolen wine-devel at kievinfo.com
Sun Mar 19 01:02:51 CST 2006


Saturday, March 18, 2006, 11:48:12 AM, Henry Kroll wrote:
> Changelog:
> Henry Kroll, admin at comptune.com corrects X "bad match" errors when
> running opengl apps.

> Ref: http://bugs.winehq.org/show_bug.cgi?id=4143

> ==========================
> --- wine/dlls/x11drv/opengl.c.orig	2006-03-11 11:58:01.000000000 -0900
> +++ wine/dlls/x11drv/opengl.c	2006-03-11 11:58:09.000000000 -0900
> @@ -199,6 +199,12 @@
>      dump_PIXELFORMATDESCRIPTOR((const PIXELFORMATDESCRIPTOR *) ppfd);
>    }
 
+  if (ppfd->>dwFlags & PFD_DRAW_TO_BITMAP) {
> +    ERR("Flag not supported !\n");
> +    /* Should SetError here... */
> +    return 0;
> +  }
> +
>    /* Now, build the request to GLX */
[skip]

This is not a patch but rather partial reversal of the patch that caused
this regression. You should fix this and not revert it back to what it
was before. Unless you have a prove that this is the way native works.

Vitaliy Margolen






More information about the wine-devel mailing list