summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorVladimir Dergachev <volodya@freedesktop.org>2004-12-16 14:04:49 +0000
committerVladimir Dergachev <volodya@freedesktop.org>2004-12-16 14:04:49 +0000
commit7771c92d3548cd0964f79af6b2c3e002b83935ab (patch)
treedce01038f212d436cfa175a980113de204f572eb /src/mesa/drivers/dri
parent575700fbdcdde9c31ee6ccdd0369604b8ee2df91 (diff)
The types uint32_t and uint8_t are not used in Mesa tree.
Put a couple of defines to use GL counterparts.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/r300/r300_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h
index d80bcc689f..be27659259 100644
--- a/src/mesa/drivers/dri/r300/r300_context.h
+++ b/src/mesa/drivers/dri/r300/r300_context.h
@@ -54,6 +54,9 @@ typedef struct r300_context *r300ContextPtr;
#include "radeon_lock.h"
#include "mm.h"
+typedef GLuint uint32_t;
+typedef GLubyte uint8_t;
+
static __inline__ uint32_t r300PackFloat32(float fl)
{