summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965
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/i965
parent6acb94f89e3314132190d235634a5e3423826757 (diff)
[intel] Warnings fixes.
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fallback.c1
-rw-r--r--src/mesa/drivers/dri/i965/brw_program.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fallback.c b/src/mesa/drivers/dri/i965/brw_fallback.c
index 2cf29cc341..b5cf821a93 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 f717b6f6c3..c38610b24e 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"