summaryrefslogtreecommitdiff
path: root/src/mesa/sources.mak
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-11-24 13:42:06 +0800
committerChia-I Wu <olv@lunarg.com>2010-11-24 14:06:30 +0800
commit1f4c55128b7e4a2aa08600ae9338071a97cee8fa (patch)
tree1fd1a34900ad24795af3a02deaf8d7ffc26aa8cf /src/mesa/sources.mak
parent78a340fd487c56468ace7347a53f95a0c751c419 (diff)
egl_dri2: Fix one context, multiple surfaces.
When a context was made current to another surface, the old code did this dri2_dpy->core->bindContext(cctx, ddraw, rdraw); dri2_dpy->core->unbindContext(old_cctx); and there will be no current context due to the second line. unbindContext should be called only when bindContext is not. This fixes a regression since d19afc57. Thanks to Neil Roberts for noticing the issue and creating a test case.
Diffstat (limited to 'src/mesa/sources.mak')
0 files changed, 0 insertions, 0 deletions