mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-18 13:20:31 +01:00
DRI1: Make DRICreateDrawable return TRUE for pixmaps.
GLX_EXT_texture_from_pixmap was broken since commit
a26c77ff43 ('glx: fix retval checks when failures
occur for drawable creation.')
Signed-off-by: Michel Dänzer <daenzer@vmware.com>
This commit is contained in:
parent
1df6716281
commit
ef320bdd5e
1 changed files with 1 additions and 1 deletions
|
|
@ -1289,7 +1289,7 @@ DRICreateDrawable(ScreenPtr pScreen, ClientPtr client, DrawablePtr pDrawable,
|
|||
*hHWDrawable = pDRIDrawablePriv->hwDrawable;
|
||||
}
|
||||
}
|
||||
else { /* pixmap (or for GLX 1.3, a PBuffer) */
|
||||
else if (pDrawable->type != DRAWABLE_PIXMAP) { /* PBuffer */
|
||||
/* NOT_DONE */
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue