From: Nicolai Hähnle Date: Thu, 16 Jul 2009 20:40:53 +0000 (+0200) Subject: r300: Remove GLcontext from r300_fragment_program_compiler X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b54e0832012e6793b9c381d64aafbb8185b7144d;p=mesa.git r300: Remove GLcontext from r300_fragment_program_compiler Signed-off-by: Nicolai Hähnle --- 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;