Re: [Mesa-dev] [PATCH] gbm: Fix build without gallium_drm_loader

2012-08-09 Thread Vadim A. Misbakh-Soloviov
I think, you should move #ifdef block before "int ret", since currently it will cause "unused variable" warning. signature.asc Description: OpenPGP digital signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/

[Mesa-dev] [PATCH] gbm: Fix build without gallium_drm_loader

2012-08-07 Thread Chí-Thanh Christopher Nguyễn
pipe_loader_drm_probe_fd only exists if HAVE_PIPE_LOADER_DRM is defined. This addresses https://bugs.freedesktop.org/show_bug.cgi?id=52962 --- src/gallium/targets/gbm/gbm.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/gallium/targets/gbm/gbm.c b/src/gallium/targets