st/dri: Get rid of the evil struct dri_drawable::context member
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 28 Jun 2011 12:07:51 +0000 (14:07 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 29 Jun 2011 10:48:59 +0000 (12:48 +0200)
commitade9f0d727092ca86f3896f733e085d9fd2bb8b2
treeab3f4655c2270e041ebffa52c11acdb10a87c136
parentac8fdbc1c723afb19eeaba5457ba78d0bf33b8d4
st/dri: Get rid of the evil struct dri_drawable::context member

It's incorrect to assume a single context bound to a drawable.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
src/gallium/state_trackers/dri/common/dri_context.c
src/gallium/state_trackers/dri/common/dri_drawable.h