diff options
author | Adam Jackson <ajax@freedesktop.org> | 2005-01-31 23:40:05 +0000 |
---|---|---|
committer | Adam Jackson <ajax@freedesktop.org> | 2005-01-31 23:40:05 +0000 |
commit | 886280763c8dfa7202bdacdeacf84ced69609b98 (patch) | |
tree | f54e00c88ca4d4dfdcc26062d85078312d20b937 /src/mesa/drivers/dri/common | |
parent | fc4cabbfa89154bce97fa1c076f4426cd6e55b68 (diff) |
Bug #2428: #ifdef GLX_DIRECT_RENDERING in DRI drivers is pointless.
Diffstat (limited to 'src/mesa/drivers/dri/common')
-rw-r--r-- | src/mesa/drivers/dri/common/dri_util.c | 4 | ||||
-rw-r--r-- | src/mesa/drivers/dri/common/dri_util.h | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c index eff21af0ea..a4de0b6496 100644 --- a/src/mesa/drivers/dri/common/dri_util.c +++ b/src/mesa/drivers/dri/common/dri_util.c @@ -25,8 +25,6 @@ */ -#ifdef GLX_DIRECT_RENDERING - #include <assert.h> #include <stdarg.h> #include <unistd.h> @@ -1689,5 +1687,3 @@ driCalculateSwapUsage( __DRIdrawablePrivate *dPriv, int64_t last_swap_ust, } /*@}*/ - -#endif /* GLX_DIRECT_RENDERING */ diff --git a/src/mesa/drivers/dri/common/dri_util.h b/src/mesa/drivers/dri/common/dri_util.h index 9c6e719643..001313c4c8 100644 --- a/src/mesa/drivers/dri/common/dri_util.h +++ b/src/mesa/drivers/dri/common/dri_util.h @@ -49,8 +49,6 @@ #ifndef _DRI_UTIL_H_ #define _DRI_UTIL_H_ -#ifdef GLX_DIRECT_RENDERING - #define CAPI /* XXX this should be globally defined somewhere */ #ifdef DRI_NEW_INTERFACE_ONLY @@ -575,6 +573,4 @@ extern void (*glXGetProcAddress(const GLubyte *procname))( void ); #endif -#endif /* GLX_DIRECT_RENDERING */ - #endif /* _DRI_UTIL_H_ */ |