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...

This commit is contained in:
Roland Scheidegger
2006-07-03 22:11:44 +00:00
parent 69f31f5475
commit bf35d70635
+4
View File
@@ -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;