summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dos
diff options
context:
space:
mode:
authorPauli Nieminen <suokkos@gmail.com>2009-08-04 01:39:37 +0300
committerPauli Nieminen <suokkos@gmail.com>2009-08-21 19:12:28 +0300
commit45e3be3c07f543f3f2869ba7750ba4695cd25122 (patch)
treeebe4674ffc5e1a341629de7532e5bd2c2817cfcc /src/mesa/drivers/dos
parentb1f156f0ecc93e456757fa95497b2af9b045d4de (diff)
glx: Make drawables persistent untill they are changed by glXMakeCurrent
This fixes bug that xdemos/manywin would segfault if it was run with command ./manywin 2. Demo is tring to call glXSwapBuffers while another context was bind using glXMakeCurrent. Fix is simple makes drawable and readable persistent untill they change or context is destroyed. I found a logic error when same dri context is used for multiple drawables which caused readable and drawable to fall out of sync in special case. Fix is simple just updating drawables more often than in original patch. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dos')
0 files changed, 0 insertions, 0 deletions