Re: opengl: Sync a dibsection to its pixmap before drawing to it via opengl
1 Feb
2006
1 Feb
'06
5:44 a.m.
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
7254
Age (days ago)
7254
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard