mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-03 19:50:11 +01:00
DRI1: Make DRICreateDrawable return TRUE for pixmaps.
GLX_EXT_texture_from_pixmap was broken since commita26c77ff43('glx: fix retval checks when failures occur for drawable creation.') Signed-off-by: Michel Dänzer <daenzer@vmware.com> (cherry picked from commitef320bdd5e)
This commit is contained in:
parent
584f46b81c
commit
e96921ca95
1 changed files with 1 additions and 1 deletions
|
|
@ -1291,7 +1291,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