summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/intel
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-05-02 12:25:48 -0700
committerEric Anholt <eric@anholt.net>2008-05-02 12:25:48 -0700
commit3323ccb803282dddcf1e403df33d00eaa0fbd0f8 (patch)
tree88e6bc8f5bbcba9e186006acbb1b13253bfd0f79 /src/mesa/drivers/dri/intel
parent6acb94f89e3314132190d235634a5e3423826757 (diff)
[intel] Warnings fixes.
Diffstat (limited to 'src/mesa/drivers/dri/intel')
-rw-r--r--src/mesa/drivers/dri/intel/intel_batchbuffer.c1
-rw-r--r--src/mesa/drivers/dri/intel/intel_tex_subimage.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_batchbuffer.c b/src/mesa/drivers/dri/intel/intel_batchbuffer.c
index d4abbb0860..a594fb6cc4 100644
--- a/src/mesa/drivers/dri/intel/intel_batchbuffer.c
+++ b/src/mesa/drivers/dri/intel/intel_batchbuffer.c
@@ -269,7 +269,6 @@ intel_batchbuffer_emit_reloc(struct intel_batchbuffer *batch,
GLuint flags, GLuint delta)
{
int ret;
- int count = 0;
ret = dri_emit_reloc(batch->buf, flags, delta, batch->ptr - batch->map, buffer);
diff --git a/src/mesa/drivers/dri/intel/intel_tex_subimage.c b/src/mesa/drivers/dri/intel/intel_tex_subimage.c
index 688e3870df..78621814c3 100644
--- a/src/mesa/drivers/dri/intel/intel_tex_subimage.c
+++ b/src/mesa/drivers/dri/intel/intel_tex_subimage.c
@@ -29,6 +29,7 @@
#include "mtypes.h"
#include "texobj.h"
#include "texstore.h"
+#include "texcompress.h"
#include "enums.h"
#include "intel_context.h"