diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2017-09-06 16:27:53 +0200 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-12-20 15:20:43 -0500 |
commit | 1726badd61358e644b96f7c561ba239a68d87ba6 (patch) | |
tree | 46abdde3e8dd5d4e2fc382210c64dd9187c9bb37 /glamor | |
parent | c64bd21d7a732b6b8de0f8f636e93b1d1bb46135 (diff) |
glx: Work around a GLX_OML swap method in older dri drivers
The swapMethod config member would typically contain an arbitrary value
on older dri drivers. Fix this so that if we detect an illegal value,
return GLX_SWAP_UNDEFINED_OML.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit 0fc26310d5b09213c65f50bde444a1758172b016)
Diffstat (limited to 'glamor')
0 files changed, 0 insertions, 0 deletions