summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/sis/sis_common2.h
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/sis/sis_common2.h
parentfc4cabbfa89154bce97fa1c076f4426cd6e55b68 (diff)
Bug #2428: #ifdef GLX_DIRECT_RENDERING in DRI drivers is pointless.
Diffstat (limited to 'src/mesa/drivers/dri/sis/sis_common2.h')
-rw-r--r--src/mesa/drivers/dri/sis/sis_common2.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/sis/sis_common2.h b/src/mesa/drivers/dri/sis/sis_common2.h
index 40ae451be58..c52abd5e510 100644
--- a/src/mesa/drivers/dri/sis/sis_common2.h
+++ b/src/mesa/drivers/dri/sis/sis_common2.h
@@ -44,10 +44,9 @@ extern void *sis_debug_malloc(int x);
#include "sis_debug.h"
#endif
-#ifdef GLX_DIRECT_RENDERING
-# include <stdio.h>
-# include <stdlib.h>
-# include <string.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
typedef struct _Box
{
short x1, y1, x2, y2;
@@ -55,7 +54,6 @@ typedef struct _Box
BoxRec;
#define NullBox ((BoxPtr)0)
typedef struct _Box *BoxPtr;
-#endif /* GLX_DIRECT_RENDERING */
/* BitBlt Commands */
#define CMD0_DD_ENABLE 0x06