egl/x11: pass NULL instead of XCB_WINDOW_NONE as native_surface
Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
This commit is contained in:
parent
9c0dad0a2b
commit
794df9acad
|
@ -371,7 +371,7 @@ dri2_x11_create_pbuffer_surface(_EGLDriver *drv, _EGLDisplay *disp,
|
|||
_EGLConfig *conf, const EGLint *attrib_list)
|
||||
{
|
||||
return dri2_x11_create_surface(drv, disp, EGL_PBUFFER_BIT, conf,
|
||||
XCB_WINDOW_NONE, attrib_list);
|
||||
NULL, attrib_list);
|
||||
}
|
||||
|
||||
static EGLBoolean
|
||||
|
|
|
@ -238,7 +238,7 @@ dri3_create_pbuffer_surface(_EGLDriver *drv, _EGLDisplay *disp,
|
|||
_EGLConfig *conf, const EGLint *attrib_list)
|
||||
{
|
||||
return dri3_create_surface(drv, disp, EGL_PBUFFER_BIT, conf,
|
||||
XCB_WINDOW_NONE, attrib_list);
|
||||
NULL, attrib_list);
|
||||
}
|
||||
|
||||
static EGLBoolean
|
||||
|
|
Loading…
Reference in New Issue