summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/glxcurrent.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom-at-vmware-dot-com>2009-04-02 10:36:40 +0200
committerThomas Hellstrom <thellstrom-at-vmware-dot-com>2009-04-02 11:33:19 +0200
commit8e753d04045a82062ac34d3b2622eb9dba8af374 (patch)
treedd70d6ee2ff2dcf392882e0e4b040e57102882f1 /src/glx/x11/glxcurrent.c
parentc952b3e907ab31cd5f95157c18ce2f81626aafe4 (diff)
dri glx: Fix dri_util::driBindContext
1) Don't error-check here. It's done in glx makeCurrent. 2) Allow ctx and the dri drawables to be NULL for future use. This is currently blocked in glx makeCurrent. 3) Avoid updating dri drawables unless they are completely uninitialized. Since the updating was done outside of the lock, the driver need to verify and redo it anyway. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
Diffstat (limited to 'src/glx/x11/glxcurrent.c')
0 files changed, 0 insertions, 0 deletions