Patch from <haihao.xiang@intel.com> -- pass program string
authorKeith Whitwell <keith@tungstengraphics.com>
Wed, 1 Nov 2006 15:20:23 +0000 (15:20 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Wed, 1 Nov 2006 15:20:23 +0000 (15:20 +0000)
notification callback through to tnl/ module, fixes glean crash.

src/mesa/drivers/dri/i915tex/i915_fragprog.c

index ac5cf2ead2802b8b3804807bf9a53d919ddf23cc..416ffc63cc070c7011d8598c6c8306bdc98c019e 100644 (file)
@@ -928,6 +928,8 @@ i915ProgramStringNotify(GLcontext * ctx,
       ctx->Driver.Enable(ctx, GL_FRAGMENT_PROGRAM_ARB,
                          ctx->FragmentProgram.Enabled);
    }
+
+   _tnl_program_string(ctx, target, prog);
 }