summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorRoland Scheidegger <rscheidegger@gmx.ch>2006-07-03 22:11:44 +0000
committerRoland Scheidegger <rscheidegger@gmx.ch>2006-07-03 22:11:44 +0000
commitbf35d70635309e499aee666eb5811446aa8b489e (patch)
tree7da6409cbe78d0a6f2661abe6dbf9f737059b232 /src/mesa/drivers/dri
parent69f31f54756106bb3e3af48bd0c9ea3bb6f7d4f7 (diff)
check if radeon_drm.h from libdrm is new enough, otherwise print an error to make it easier to figure out why it won't compile...
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/r200/r200_context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_context.h b/src/mesa/drivers/dri/r200/r200_context.h
index 2ff9b9f32e..df5c9f848a 100644
--- a/src/mesa/drivers/dri/r200/r200_context.h
+++ b/src/mesa/drivers/dri/r200/r200_context.h
@@ -50,6 +50,10 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define ENABLE_HW_3D_TEXTURE 1 /* XXX this is temporary! */
+#ifndef R200_EMIT_VAP_PVS_CNTL
+#error This driver requires a newer libdrm to compile
+#endif
+
struct r200_context;
typedef struct r200_context r200ContextRec;
typedef struct r200_context *r200ContextPtr;