remove stray, left-over RefCount++
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 16 May 2008 15:38:33 +0000 (09:38 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 16 May 2008 21:16:06 +0000 (15:16 -0600)
src/mesa/shader/program.c

index 14e401e57167cc1e30c6d43da89540042bbee4e4..63ab4dd67def0dd0e1ba47774d6ba8ebbd2423ae 100644 (file)
@@ -73,7 +73,6 @@ _mesa_init_program(GLcontext *ctx)
    _mesa_reference_fragprog(ctx, &ctx->FragmentProgram.Current,
                             ctx->Shared->DefaultFragmentProgram);
    assert(ctx->FragmentProgram.Current);
-   ctx->FragmentProgram.Current->Base.RefCount++;
 #endif
 
    /* XXX probably move this stuff */