[PATCH 1/2] winex11: fix gl drawable type

Alexandre Julliard julliard at winehq.org
Mon Jun 20 02:42:28 CDT 2016


Miklós Máté <mtmkls at gmail.com> writes:

> @@ -1344,7 +1344,7 @@ static BOOL create_gl_drawable( HWND hwnd, struct gl_drawable *gl )
>  
>          if (data)
>          {
> -            gl->type = DC_GL_WINDOW;
> +            gl->type = DC_GL_CHILD_WIN;

This can't possibly work, top-level windows and child windows have to be
treated differently.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list