summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/savage
diff options
context:
space:
mode:
authorAdam Jackson <ajax@freedesktop.org>2005-01-31 23:40:05 +0000
committerAdam Jackson <ajax@freedesktop.org>2005-01-31 23:40:05 +0000
commit886280763c8dfa7202bdacdeacf84ced69609b98 (patch)
treef54e00c88ca4d4dfdcc26062d85078312d20b937 /src/mesa/drivers/dri/savage
parentfc4cabbfa89154bce97fa1c076f4426cd6e55b68 (diff)
Bug #2428: #ifdef GLX_DIRECT_RENDERING in DRI drivers is pointless.
Diffstat (limited to 'src/mesa/drivers/dri/savage')
-rw-r--r--src/mesa/drivers/dri/savage/savage_init.h3
-rw-r--r--src/mesa/drivers/dri/savage/savage_xmesa.c4
2 files changed, 0 insertions, 7 deletions
diff --git a/src/mesa/drivers/dri/savage/savage_init.h b/src/mesa/drivers/dri/savage/savage_init.h
index 27539bea16..74b40d8729 100644
--- a/src/mesa/drivers/dri/savage/savage_init.h
+++ b/src/mesa/drivers/dri/savage/savage_init.h
@@ -26,8 +26,6 @@
#ifndef _SAVAGE_INIT_H_
#define _SAVAGE_INIT_H_
-#ifdef GLX_DIRECT_RENDERING
-
#include <sys/time.h>
#include "dri_util.h"
#include "mtypes.h"
@@ -160,4 +158,3 @@ enum S3CHIPTAGS {
};
#endif
-#endif
diff --git a/src/mesa/drivers/dri/savage/savage_xmesa.c b/src/mesa/drivers/dri/savage/savage_xmesa.c
index 171cbde90e..5592d0906a 100644
--- a/src/mesa/drivers/dri/savage/savage_xmesa.c
+++ b/src/mesa/drivers/dri/savage/savage_xmesa.c
@@ -23,8 +23,6 @@
*/
-#ifdef GLX_DIRECT_RENDERING
-
#include <X11/Xlibint.h>
#include <stdio.h>
@@ -940,5 +938,3 @@ void * __driCreateNewScreen( __DRInativeDisplay *dpy, int scrn, __DRIscreen *psc
return (void *) psp;
}
#endif /* USE_NEW_INTERFACE */
-
-#endif