diff options
author | Fredrik Höglund <[email protected]> | 2012-10-15 21:02:05 +0200 |
---|---|---|
committer | Fredrik Höglund <[email protected]> | 2012-10-16 02:24:42 +0200 |
commit | 0978707917e68fdb2da4035a810480622fed5410 (patch) | |
tree | 52952946eb3f03fdaa5612b358bad017cd9066b5 /src/mesa | |
parent | df3721fd2e10ef27ce12a0c1025c9770137fa8f7 (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