summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/unichrome/via_context.h
diff options
context:
space:
mode:
authorThomas Hellström <thomas@tungstengraphics.com>2005-11-16 19:24:00 +0000
committerThomas Hellström <thomas@tungstengraphics.com>2005-11-16 19:24:00 +0000
commit154cc16d08c5de175f8bdf83c685991a8b2cd71b (patch)
treebbf437f9b8b9537556a51650dcaccd91f23eeafb /src/mesa/drivers/dri/unichrome/via_context.h
parent0ba7be0a5028ad3e6547eb0351967eb6083b7900 (diff)
Fixes for x86_64 Unichrome.
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_context.h')
-rw-r--r--src/mesa/drivers/dri/unichrome/via_context.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_context.h b/src/mesa/drivers/dri/unichrome/via_context.h
index 59311eab36..9d7a0e6cb6 100644
--- a/src/mesa/drivers/dri/unichrome/via_context.h
+++ b/src/mesa/drivers/dri/unichrome/via_context.h
@@ -89,8 +89,8 @@ struct via_renderbuffer {
struct gl_renderbuffer Base; /* must be first! */
drm_handle_t handle;
drmSize size;
- GLuint offset;
- GLuint index;
+ unsigned long offset;
+ unsigned long index;
GLuint pitch;
GLuint bpp;
char *map;
@@ -106,8 +106,8 @@ struct via_renderbuffer {
struct via_tex_buffer {
struct via_tex_buffer *next, *prev;
struct via_texture_image *image;
- GLuint index;
- GLuint offset;
+ unsigned long index;
+ unsigned long offset;
GLuint size;
GLuint memType;
unsigned char *bufAddr;
@@ -303,7 +303,7 @@ struct via_context {
volatile GLuint* regEngineStatus;
volatile GLuint* regTranSet;
volatile GLuint* regTranSpace;
- GLuint* agpBase;
+ GLuint agpBase;
GLuint drawType;
GLuint nDoneFirstFlip;