projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d629d4
)
st/xorg: Old X servers don't deal well with failing accesses
author
Jakob Bornecrantz
<jakob@vmware.com>
Thu, 8 Oct 2009 12:43:22 +0000
(14:43 +0200)
committer
Jakob Bornecrantz
<jakob@vmware.com>
Thu, 8 Oct 2009 12:54:38 +0000
(14:54 +0200)
src/gallium/state_trackers/xorg/xorg_exa.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/xorg/xorg_exa.c
b/src/gallium/state_trackers/xorg/xorg_exa.c
index 3f0ed3d98094de05990f32617d717ab80b988128..2633e8caaf5da882eef43f06a3c4a550b238bbe2 100644
(file)
--- a/
src/gallium/state_trackers/xorg/xorg_exa.c
+++ b/
src/gallium/state_trackers/xorg/xorg_exa.c
@@
-215,8
+215,12
@@
ExaPrepareAccess(PixmapPtr pPix, int index)
#endif
PIPE_TRANSFER_READ_WRITE,
0, 0, priv->tex->width[0], priv->tex->height[0]);
- if (!priv->map_transfer)
+ if (!priv->map_transfer)
+#ifdef EXA_MIXED_PIXMAPS
return FALSE;
+#else
+ FatalError("failed to create transfer\n");
+#endif
pPix->devPrivate.ptr =
exa->scrn->transfer_map(exa->scrn, priv->map_transfer);