diff options
author | Brian Paul <brianp@vmware.com> | 2009-11-05 16:48:50 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-11-05 16:48:52 -0700 |
commit | 63191bd244f18fd78bebb9586d2b85ab9d5b38e2 (patch) | |
tree | e7e7c3f44cd4d2d6391e349b3da8c95f9b763dc0 /src/mesa/tnl | |
parent | 7c623905bc032480a0765093825f3bd105345121 (diff) |
xmesa: pass pixmap to clip_for_xgetimage()
The code was assuming ctx->DrawBuffer == ctx->ReadBuffer.
Passing the pixmap is simpler and better.
Fixes a potential segfault.
Diffstat (limited to 'src/mesa/tnl')
0 files changed, 0 insertions, 0 deletions