summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_fragprog_to_c.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/swrast/s_fragprog_to_c.c')
-rw-r--r--src/mesa/swrast/s_fragprog_to_c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_fragprog_to_c.c b/src/mesa/swrast/s_fragprog_to_c.c
index fa669693307..1953e8c73cc 100644
--- a/src/mesa/swrast/s_fragprog_to_c.c
+++ b/src/mesa/swrast/s_fragprog_to_c.c
@@ -808,7 +808,7 @@ static void translate_program( struct fragment_program *p )
void _swrast_translate_program( GLcontext *ctx )
{
- struct fragment_program *p = ctx->FragmentProgram.Current;
+ struct fragment_program *p = ctx->FragmentProgram._Current;
if (p) {
p->c_strlen = 0;