Huw D M Davies <h.davies1(a)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(a)winehq.org