summaryrefslogtreecommitdiffstats
path: root/src/mesa/x86
diff options
context:
space:
mode:
authorNeil Roberts <[email protected]>2012-04-11 17:07:56 +0100
committerKristian Høgsberg <[email protected]>2012-04-12 23:14:22 -0400
commit4f2eafe4dcea26d7275b121360c4f4e0b28455f5 (patch)
treea52325f055c25853b326c456c172c804699d13d6 /src/mesa/x86
parent368878cc5f9a09afc6c254bcb73c2267633a5d6d (diff)
wayland-drm: Implement wl_buffer.damage in old versions of Wayland
Commit 272bc48976 removed the damage implementation for the wl_buffer_interface because that has been removed from git master of Wayland. However this breaks building with the 0.85 branch of Wayland because it would end up initialising the struct incorrectly. For the time being it's quite convenient for some compositors to track the 0.85 branch of Wayland because the protocol is stable but they will also want to track the master branch of Mesa so that they can use the gbm surface changes. This patch adds a compile-time check for the version of Wayland so that it can work with either Wayland master or the 0.85 branch. krh: Edited to also account for API changes in 6802eaa68, which removes the timestamp argument from wl_resource_destroy().
Diffstat (limited to 'src/mesa/x86')
0 files changed, 0 insertions, 0 deletions