summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/mach64/server
diff options
context:
space:
mode:
authorDave Airlie <airliedfreedesktop.org>2004-02-06 00:16:26 +0000
committerDave Airlie <airliedfreedesktop.org>2004-02-06 00:16:26 +0000
commit6c7bb5ebbde6dfe19ecf0e9c6790c28b8b2e8d1e (patch)
treea3fd56662e57965b870cd20889c6d7bf89f5bcc2 /src/mesa/drivers/dri/mach64/server
parent0fbeff2fa2e831e45e4dc6014c8f1e6abaa44aa1 (diff)
Remove warnings from mach64 build, fix up some _SOLO stuff,
update to newer Mesa interfaces...
Diffstat (limited to 'src/mesa/drivers/dri/mach64/server')
-rw-r--r--src/mesa/drivers/dri/mach64/server/mach64_common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/mach64/server/mach64_common.h b/src/mesa/drivers/dri/mach64/server/mach64_common.h
index 65ec25afb66..00609e31a4b 100644
--- a/src/mesa/drivers/dri/mach64/server/mach64_common.h
+++ b/src/mesa/drivers/dri/mach64/server/mach64_common.h
@@ -121,11 +121,11 @@ typedef struct {
} drmMach64Blit;
typedef struct {
- enum {
- MACH64_PARAM_FRAMES_QUEUED = 0x01,
- MACH64_PARAM_IRQ_NR = 0x02
- } param;
+ int param;
int *value;
} drmMach64GetParam;
+#define MACH64_PARAM_FRAMES_QUEUED 1
+#define MACH64_PARAM_IRQ_NR 2
+
#endif /* __MACH64_COMMON_H__ */