summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorFredrik Höglund <[email protected]>2012-10-15 21:02:05 +0200
committerFredrik Höglund <[email protected]>2012-10-16 02:24:42 +0200
commit0978707917e68fdb2da4035a810480622fed5410 (patch)
tree52952946eb3f03fdaa5612b358bad017cd9066b5 /src/mesa
parentdf3721fd2e10ef27ce12a0c1025c9770137fa8f7 (diff)
glx: Fix a regression in the new XCB code
dri2DrawableGetMSC(), dri2WaitForMSC() and dri2WaitForSBC() were inadvertently changed to return 0 on success. This resulted in the callers returning an error to the client. Restore the previous behavior and also check that the reply pointers are valid before accessing them. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions