summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/ffb
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2005-01-31 23:40:05 +0000
committerAdam Jackson <[email protected]>2005-01-31 23:40:05 +0000
commit886280763c8dfa7202bdacdeacf84ced69609b98 (patch)
treef54e00c88ca4d4dfdcc26062d85078312d20b937 /src/mesa/drivers/dri/ffb
parentfc4cabbfa89154bce97fa1c076f4426cd6e55b68 (diff)
Bug #2428: #ifdef GLX_DIRECT_RENDERING in DRI drivers is pointless.
Diffstat (limited to 'src/mesa/drivers/dri/ffb')
-rw-r--r--src/mesa/drivers/dri/ffb/ffb_xmesa.c5
-rw-r--r--src/mesa/drivers/dri/ffb/ffb_xmesa.h4
2 files changed, 0 insertions, 9 deletions
diff --git a/src/mesa/drivers/dri/ffb/ffb_xmesa.c b/src/mesa/drivers/dri/ffb/ffb_xmesa.c
index 4e38d082373..722b870f5e9 100644
--- a/src/mesa/drivers/dri/ffb/ffb_xmesa.c
+++ b/src/mesa/drivers/dri/ffb/ffb_xmesa.c
@@ -25,8 +25,6 @@
* David S. Miller <[email protected]>
*/
-#ifdef GLX_DIRECT_RENDERING
-
#include "ffb_xmesa.h"
#include "context.h"
#include "matrix.h"
@@ -580,6 +578,3 @@ void *__driCreateScreen(Display *dpy, int scrn, __DRIscreen *psc,
psp = __driUtilCreateScreen(dpy, scrn, psc, numConfigs, config, &ffbAPI);
return (void *) psp;
}
-
-
-#endif /* GLX_DIRECT_RENDERING */
diff --git a/src/mesa/drivers/dri/ffb/ffb_xmesa.h b/src/mesa/drivers/dri/ffb/ffb_xmesa.h
index 5569bd86624..b7580780a62 100644
--- a/src/mesa/drivers/dri/ffb/ffb_xmesa.h
+++ b/src/mesa/drivers/dri/ffb/ffb_xmesa.h
@@ -3,8 +3,6 @@
#ifndef _FFB_XMESA_H_
#define _FFB_XMESA_H_
-#ifdef GLX_DIRECT_RENDERING
-
#include <sys/time.h>
#include "dri_util.h"
#include "mtypes.h"
@@ -25,6 +23,4 @@ typedef struct {
int rp_active;
} ffbScreenPrivate;
-#endif /* GLX_DIRECT_RENDERING */
-
#endif /* !(_FFB_XMESA_H) */