intel: remove a buffer equality test in _mesa_make_current()
authorBrian Paul <brianp@vmware.com>
Mon, 5 Oct 2009 20:07:29 +0000 (14:07 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 5 Oct 2009 20:07:29 +0000 (14:07 -0600)
commit3b29dcbb5e1f0641cdfab22b5e578d933e9dbf35
tree209f258f3e38b682656a933ae2afd6d9190edf47
parenta8768bbc9de1441384cecc147d51c9ee6431b924
intel: remove a buffer equality test in _mesa_make_current()

Before, if we called glXMakeCurrent() to change a context's window binding
while an FBO was bound, we weren't updating the intel->driDrawable and
intel->driReadDrawable fields.  This could cause us to dereference a null
pointer elsewhere.
src/mesa/drivers/dri/intel/intel_context.c