mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 08:10:14 +01:00
glx/dri2: fix build failure on HURD
Patch from Debian package.
Cc: "10.0 10.1" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
(cherry picked from commit 6f0e2731e8)
This commit is contained in:
parent
4c0702b05c
commit
03d0c9fd30
1 changed files with 5 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue