mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 20:08:06 +02:00
i915tex: Fix build against libdrm git...
This commit is contained in:
parent
beffb4e88c
commit
38f7f81518
2 changed files with 3 additions and 2 deletions
|
|
@ -60,7 +60,8 @@ C_SOURCES = \
|
|||
|
||||
ASM_SOURCES =
|
||||
|
||||
DRIVER_DEFINES = -I../intel
|
||||
DRIVER_DEFINES = -I../intel $(shell pkg-config libdrm --atleast-version=2.3.1 \
|
||||
&& echo "-DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP")
|
||||
|
||||
include ../Makefile.template
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
#include "vblank.h"
|
||||
|
||||
|
||||
/* This block can be removed when libdrm > 2.3.0 is required */
|
||||
/* This block can be removed when libdrm >= 2.3.1 is required */
|
||||
|
||||
#ifndef DRM_VBLANK_FLIP
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue