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: 2e12fe42 "loader/dri3: Enable adaptive_sync via _VARIABLE_REFRESH property" Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Reviewed-by: Eric Anholt <eric@anholt.net>
parent
4f0a3c9f
Loading
Loading
This commit is part of merge request !202. Comments created here will be created in the context of that merge request.
Loading
-
mentioned in commit 15e2fc16
-
mentioned in commit bnieuwenhuizen/mesa@260d6f0e
Please register or sign in to comment