projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48ccaf2
)
Make sure USE_NEW_INTERFACE is defined if DRI_NEW_INTERFACE_ONLY is
author
Ian Romanick
<idr@us.ibm.com>
Wed, 2 Jun 2004 22:12:24 +0000
(22:12 +0000)
committer
Ian Romanick
<idr@us.ibm.com>
Wed, 2 Jun 2004 22:12:24 +0000
(22:12 +0000)
defined.
src/mesa/drivers/dri/common/dri_util.h
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/common/dri_util.h
b/src/mesa/drivers/dri/common/dri_util.h
index eb88102a9d1e5171a8159806c8e14e0490c41bbe..7db67513019492e77dfc5a1f1040deff7e4f24b4 100644
(file)
--- 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;