Encapsulate the code in src/glx/dri2_query_renderer.c within a
#ifdef GLX_DIRECT_RENDERING
as done in src/glx/dri2*.c.
Signed-off-by: Daniel Martin
---
... compile it, when enabled only.
Cheers,
Daniel
src/glx/dri2_query_renderer.c |5 +
1 files changed, 5 insertions(+), 0
On 5 March 2013 19:57, Matt Turner wrote:
> Commit 67ef7559 added an || test "x$enable_dri" check, which was just
> wrong since the whole block was enclosed in if test "x$enable_dri". The
> comment added with it stated the actual intent: to enable when any DRI
> drivers were built.
> ---
> config
Signed-off-by: Daniel Martin
---
There's a small logic error preventing mesa to be build with swrast only
and not having libdrm.
v2: "|| test" replaced by "-a"
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.