summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorOlivier Fourdan <ofourdan@redhat.com>2020-11-26 14:39:32 +0100
committerPeter Hutterer <peter.hutterer@who-t.net>2020-11-26 22:06:56 +0000
commit3ce05a44f3d9b114af936f39e3f44552c5bf2c43 (patch)
treec8b5ce4e71dc6fbf51a4f66816223aa68a7a8243 /config
parent95b79aa907789a16f736097abe959e906f86f63a (diff)
modesetting: Fix build with DebugPresent() enabledHEADmaster
By default, the macro DebugPresent() is a no-op but it can be enabled at build time for debugging purpose. However, doing so prevents the code to build because one debug statement tries to make use of a non-existent variable: present.c: In function ‘ms_present_queue_vblank’: present.c:147:18: error: ‘vbl’ undeclared (first use in this function) 147 | vbl.request.sequence)); | ^~~ present.c:49:32: note: in definition of macro ‘DebugPresent’ 49 | #define DebugPresent(x) ErrorF x | ^ Fix the build with DebugPresent() by removing the vbl variable from the debug message. Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions