diff options
author | Eric Anholt <[email protected]> | 2008-05-02 12:25:48 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2008-05-02 12:25:48 -0700 |
commit | 3323ccb803282dddcf1e403df33d00eaa0fbd0f8 (patch) | |
tree | 88e6bc8f5bbcba9e186006acbb1b13253bfd0f79 /src/mesa/drivers | |
parent | 6acb94f89e3314132190d235634a5e3423826757 (diff) |
[intel] Warnings fixes.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fallback.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_program.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_batchbuffer.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_tex_subimage.c | 1 |
4 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fallback.c b/src/mesa/drivers/dri/i965/brw_fallback.c index 2cf29cc3417..b5cf821a938 100644 --- a/src/mesa/drivers/dri/i965/brw_fallback.c +++ b/src/mesa/drivers/dri/i965/brw_fallback.c @@ -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 */ diff --git a/src/mesa/drivers/dri/i965/brw_program.c b/src/mesa/drivers/dri/i965/brw_program.c index f717b6f6c35..c38610b24ed 100644 --- a/src/mesa/drivers/dri/i965/brw_program.c +++ b/src/mesa/drivers/dri/i965/brw_program.c @@ -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" diff --git a/src/mesa/drivers/dri/intel/intel_batchbuffer.c b/src/mesa/drivers/dri/intel/intel_batchbuffer.c index d4abbb08608..a594fb6cc46 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 688e3870df7..78621814c3a 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" |