diff options
author | Michel Dänzer <[email protected]> | 2019-02-04 18:53:52 +0100 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2019-02-05 11:41:48 -0800 |
commit | 15e2fc16e9cbb0c8e02d30e6f419e01ce8bc675e (patch) | |
tree | e1edcbdbc966835105b59c3c8fa7324c37d81a25 /src/glx/glxconfig.h | |
parent | 3f5099180d0f76ebc875719b48a9d590f7aa653f (diff) |
loader/dri3: Use strlen instead of sizeof for creating VRR property atom
sizeof counts the terminating null character as well, so that also
contributed to the ID computed for the X11 atom. But the convention is
for only the non-null characters to contribute to the atom ID.
Fixes: 2e12fe425fe3 "loader/dri3: Enable adaptive_sync via
_VARIABLE_REFRESH property"
Reviewed-by: Nicholas Kazlauskas <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
(cherry picked from commit c0a540f32067cc8cb126d9aa1eb12a11cf15373a)
Diffstat (limited to 'src/glx/glxconfig.h')
0 files changed, 0 insertions, 0 deletions