summaryrefslogtreecommitdiff
path: root/exa/exa.h
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2006-02-28 05:20:20 +0000
committerJesse Barnes <jbarnes@virtuousgeek.org>2006-02-28 05:20:20 +0000
commite7f0b84fa7bd0c40cb456ec4e447103442c8dae3 (patch)
tree70d5d4d33d919a85ec63c0c8f9ac3953fa9210ad /exa/exa.h
parent088e5768faa90fe16de41b135b1111b5d25c64ad (diff)
fix exaInitCard by making it a real function
Diffstat (limited to 'exa/exa.h')
-rw-r--r--exa/exa.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/exa/exa.h b/exa/exa.h
index 217d8ba32..54f07e53d 100644
--- a/exa/exa.h
+++ b/exa/exa.h
@@ -252,17 +252,10 @@ exaGetPixmapSize(PixmapPtr pPix);
void
exaEnableDisableFBAccess (int index, Bool enable);
-#define exaInitCard(exa, sync, memory_base, off_screen_base, memory_size, \
- offscreen_byte_align, offscreen_pitch, flags, \
- max_x, max_y) \
- (exa)->card.Sync = sync; \
- (exa)->card.memoryBase = memory_base; \
- (exa)->card.offScreenBase = off_screen_base; \
- (exa)->card.memorySize = memory_size; \
- (exa)->card.offscreenByteAlign = offscreen_byte_align; \
- (exa)->card.offscreenPitch = offscreen_pitch; \
- (exa)->card.flags = flags; \
- (exa)->card.maxX = max_x; \
- (exa)->card.maxY = max_y
+void
+exaInitCard(ExaDriverPtr exa, int needsSync, CARD8 *memory_base,
+ unsigned long off_screen_base, unsigned long memory_size,
+ int offscreen_byte_align, int offscreen_pitch, int flags,
+ int max_x, int max_y);
#endif /* EXA_H */