opengl: Sync a dibsection to its pixmap before drawing to it via opengl

Alexandre Julliard julliard at winehq.org
Wed Feb 1 05:44:30 CST 2006


Huw D M Davies <h.davies1 at physics.ox.ac.uk> writes:

> --- a/dlls/opengl32/wgl.c
> +++ b/dlls/opengl32/wgl.c
> @@ -54,7 +54,8 @@ enum x11drv_escape_codes
>      X11DRV_END_EXPOSURES,       /* end graphics exposures */
>      X11DRV_GET_DCE,             /* get the DCE pointer */
>      X11DRV_SET_DCE,             /* set the DCE pointer */
> -    X11DRV_GET_GLX_DRAWABLE     /* get current glx drawable for a DC */
> +    X11DRV_GET_GLX_DRAWABLE,    /* get current glx drawable for a DC */
> +    X11DRV_SYNC_PIXMAP          /* sync the dibsection to its pixmap */

It seems to me that GET_GLX_DRAWABLE is already doing pretty much the
same thing, couldn't you reuse that instead of adding another escape?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list