[intel] Warnings fixes.
authorEric Anholt <eric@anholt.net>
Fri, 2 May 2008 19:25:48 +0000 (12:25 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 2 May 2008 19:25:48 +0000 (12:25 -0700)
src/mesa/drivers/dri/i965/brw_fallback.c
src/mesa/drivers/dri/i965/brw_program.c
src/mesa/drivers/dri/intel/intel_batchbuffer.c
src/mesa/drivers/dri/intel/intel_tex_subimage.c

index 2cf29cc3417377ea38b0e33191db6e5b8d9918ea..b5cf821a9386365ad4a462199ac17905b9cede0f 100644 (file)
@@ -45,7 +45,6 @@ static GLboolean do_check_fallback(struct brw_context *brw)
 {
    GLcontext *ctx = &brw->intel.ctx;
    GLuint i;
-   struct gl_framebuffer *fb = ctx->DrawBuffer;
 
    /* BRW_NEW_METAOPS
     */
index f717b6f6c35d045fce1695ac245245ffa0380f01..c38610b24ed3c5aa8f4ff600bb2aceeda23c9cdc 100644 (file)
@@ -33,6 +33,7 @@
 #include "main/enums.h"
 #include "shader/prog_parameter.h"
 #include "shader/program.h"
+#include "shader/programopt.h"
 #include "tnl/tnl.h"
 
 #include "brw_context.h"
index d4abbb08608c208a617ce08f695b1fb468fdae1d..a594fb6cc46333e0386b9f2c01dc33046828a30b 100644 (file)
@@ -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);
 
index 688e3870df7e2d215af8207a6294659a841b9b47..78621814c3a18c8c53b17fb1f1138088feee8ab6 100644 (file)
@@ -29,6 +29,7 @@
 #include "mtypes.h"
 #include "texobj.h"
 #include "texstore.h"
+#include "texcompress.h"
 #include "enums.h"
 
 #include "intel_context.h"