diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-09-22 11:05:07 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-09-22 11:05:07 +1000 |
commit | 493d2f9c2fc56dd3b4c03451c07cd25e3012142e (patch) | |
tree | d69d9452e0ca73cbf52601e3b119c663fa2479dc /Xext | |
parent | fff40b3353c7025c1d1e3dd14b5c78f7c9f5de7c (diff) |
Xext: remove DisplayImageBuffers from mbuf.c
Not referenced by anything.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xext')
-rw-r--r-- | Xext/mbuf.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/Xext/mbuf.c b/Xext/mbuf.c index e2306a210..dd223f02c 100644 --- a/Xext/mbuf.c +++ b/Xext/mbuf.c @@ -1499,42 +1499,6 @@ GetBufferPointer (pWin, i) return (DrawablePtr) pMultibuffers->buffers[i].pPixmap; } -int -DisplayImageBuffers (ids, nbuf) - XID *ids; - int nbuf; -{ - MultibufferPtr *pMultibuffer; - MultibuffersPtr *pMultibuffers; - int i, j; - - pMultibuffer = xalloc (nbuf * sizeof *pMultibuffer + - nbuf * sizeof *pMultibuffers); - if (!pMultibuffer) - return BadAlloc; - pMultibuffers = (MultibuffersPtr *) (pMultibuffer + nbuf); - for (i = 0; i < nbuf; i++) - { - pMultibuffer[i] = (MultibufferPtr) LookupIDByType (ids[i], MultibufferResType); - if (!pMultibuffer[i]) - { - xfree (pMultibuffer); - return MultibufferErrorBase + MultibufferBadBuffer; - } - pMultibuffers[i] = pMultibuffer[i]->pMultibuffers; - for (j = 0; j < i; j++) - if (pMultibuffers[i] == pMultibuffers[j]) - { - xfree (pMultibuffer); - return BadMatch; - } - } - PerformDisplayRequest (pMultibuffers, pMultibuffer, nbuf); - xfree (pMultibuffer); - return Success; -} - - static Bool QueueDisplayRequest (client, activateTime) ClientPtr client; |