From: Ian Romanick Date: Wed, 2 Jun 2004 22:12:24 +0000 (+0000) Subject: Make sure USE_NEW_INTERFACE is defined if DRI_NEW_INTERFACE_ONLY is X-Git-Tag: mesa-7.8~10973 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c113461df885d2de7eae405e058fb97cf4028dc;p=platform%2Fupstream%2Fmesa.git Make sure USE_NEW_INTERFACE is defined if DRI_NEW_INTERFACE_ONLY is defined. --- diff --git a/src/mesa/drivers/dri/common/dri_util.h b/src/mesa/drivers/dri/common/dri_util.h index eb88102..7db6751 100644 --- a/src/mesa/drivers/dri/common/dri_util.h +++ b/src/mesa/drivers/dri/common/dri_util.h @@ -59,6 +59,12 @@ #include "sarea.h" /* for XF86DRISAREAPtr */ #include "GL/internal/glcore.h" /* for __GLcontextModes */ +/* This is a temporary relic. Once all drivers are converted to support + * the new interface, it can go away. + */ +#ifdef DRI_NEW_INTERFACE_ONLY +#define USE_NEW_INTERFACE +#endif typedef struct __DRIdisplayPrivateRec __DRIdisplayPrivate; typedef struct __DRIscreenPrivateRec __DRIscreenPrivate;