glapi/glx: call __glEmptyImage if USE_XCB, not memcpy directly
authorJulien Cristau <julien.cristau@logilab.fr>
Fri, 20 Jul 2012 09:09:19 +0000 (11:09 +0200)
committerBrian Paul <brianp@vmware.com>
Mon, 27 Aug 2012 19:32:53 +0000 (13:32 -0600)
commitac889b24109ba0aec4f8c7f103d3c23e78c11a29
tree90ea69e228e54dc9ee7f671a162a847c41c5567c
parentf308c804905ef7f2a976397c8d48a295d8f6853c
glapi/glx: call __glEmptyImage if USE_XCB, not memcpy directly

We were stomping on the caller's buffer by ignoring their alignment
requests and other pixel store modes.  This patch makes the USE_XCB path match
the older one more closely.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=52059

Signed-off-by: Julien Cristau <julien.cristau@logilab.fr>
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mapi/glapi/gen/glX_proto_send.py