glx: add drawable type argument when create drawable
For distinguish different behavior of pixmap and pbuffer in latter commits. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Qiang Yu <yuq825@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13750>
This commit is contained in:
@@ -309,7 +309,8 @@ dri2DestroyDrawable(__GLXDRIdrawable *base)
|
||||
|
||||
static __GLXDRIdrawable *
|
||||
dri2CreateDrawable(struct glx_screen *base, XID xDrawable,
|
||||
GLXDrawable drawable, struct glx_config *config_base)
|
||||
GLXDrawable drawable, int type,
|
||||
struct glx_config *config_base)
|
||||
{
|
||||
struct dri2_drawable *pdraw;
|
||||
struct dri2_screen *psc = (struct dri2_screen *) base;
|
||||
|
Reference in New Issue
Block a user