glx/tests: honor enable-driglx-direct configure flag
authorJon TURNEY <jon.turney@dronecode.org.uk>
Tue, 12 Nov 2013 17:32:13 +0000 (17:32 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 11 Mar 2014 12:50:43 +0000 (12:50 +0000)
commite5214dd8f1356ac77e9caed5abb2b76deb27a920
treefa814a4b4f7a158548dccb2728af5ac5f61e068f
parent254aafba3e1c4a50dc79c6cfe2ad9b48152267c0
glx/tests: honor enable-driglx-direct configure flag

Recent commit fixed build issues in dri2_query_renderer.c by
wrapping in defined(direct_rendering) && !defined(applegl)

This patch targets the query_renderer tests, so that make check
passes on platforms such as hurd and cygwin.

v2: (Emil)
 - Rebase and update commit message.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glx/tests/query_renderer_implementation_unittest.cpp