diff options
author | Nicolai Hähnle <nhaehnle@gmail.com> | 2009-07-16 22:40:53 +0200 |
---|---|---|
committer | Nicolai Hähnle <nhaehnle@gmail.com> | 2009-07-27 20:32:03 +0200 |
commit | b54e0832012e6793b9c381d64aafbb8185b7144d (patch) | |
tree | 552f48f4af885acd1d6f6b6a8a5e39936298133d | |
parent | e93d70e3e93df956e89c46678020de1a352f9ecf (diff) |
r300: Remove GLcontext from r300_fragment_program_compiler
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
-rw-r--r-- | src/mesa/drivers/dri/r300/compiler/radeon_compiler.h | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_fragprog_common.c | 1 |
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 e1a691db4f..92560b5d8a 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 f28162a2b6..b37f296912 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; |