diff options
author | Julien Cristau <[email protected]> | 2014-03-01 10:11:11 +0100 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-03-05 08:38:38 +0200 |
commit | 03d0c9fd308db2124efbe240eda24a2a67eb67d2 (patch) | |
tree | 3fb22d9c043b5385f2c328deb6391ea0a9adf421 | |
parent | 4c0702b05ca002e42dbf05c6c4451113df0c3799 (diff) |
glx/dri2: fix build failure on HURD
Patch from Debian package.
Cc: "10.0 10.1" <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
(cherry picked from commit 6f0e2731e862d1c2d8d21927040bead5049a2d68)
-rw-r--r-- | src/glx/dri2_query_renderer.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glx/dri2_query_renderer.c b/src/glx/dri2_query_renderer.c index b50a202ca42..95560cb4a6b 100644 --- a/src/glx/dri2_query_renderer.c +++ b/src/glx/dri2_query_renderer.c @@ -20,6 +20,9 @@ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. */ + +#if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL) + #include "glxclient.h" #include "glx_error.h" #include "xf86drm.h" @@ -95,3 +98,5 @@ dri2_query_renderer_string(struct glx_screen *base, int attribute, return psc->rendererQuery->queryString(psc->driScreen, dri_attribute, value); } + +#endif /* GLX_DIRECT_RENDERING */ |