summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r300/compiler/radeon_compiler.h1
-rw-r--r--src/mesa/drivers/dri/r300/r300_fragprog_common.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_compiler.h b/src/mesa/drivers/dri/r300/compiler/radeon_compiler.h
index e1a691db4fb..92560b5d8ae 100644
--- a/src/mesa/drivers/dri/r300/compiler/radeon_compiler.h
+++ b/src/mesa/drivers/dri/r300/compiler/radeon_compiler.h
@@ -149,7 +149,6 @@ struct rX00_fragment_program_code {
};
struct r300_fragment_program_compiler {
- GLcontext * ctx;
struct rX00_fragment_program_code *code;
struct gl_program *program;
struct r300_fragment_program_external_state state;
diff --git a/src/mesa/drivers/dri/r300/r300_fragprog_common.c b/src/mesa/drivers/dri/r300/r300_fragprog_common.c
index f28162a2b6a..b37f2969126 100644
--- a/src/mesa/drivers/dri/r300/r300_fragprog_common.c
+++ b/src/mesa/drivers/dri/r300/r300_fragprog_common.c
@@ -95,7 +95,6 @@ void r300TranslateFragmentShader(GLcontext *ctx, struct r300_fragment_program *f
r300ContextPtr r300 = R300_CONTEXT(ctx);
struct r300_fragment_program_compiler compiler;
- compiler.ctx = ctx;
compiler.code = &fp->code;
compiler.state = fp->state;
compiler.program = fp->Base;