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

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

index 0f3e6885f378059e6b75d34be2c73771b9b49dd3..3f12da19380a66e92acf88fd1531fd8c7a0aacc1 100644 (file)
@@ -937,6 +937,8 @@ static void i915ProgramStringNotify( GLcontext *ctx,
       ctx->Driver.Enable( ctx, GL_FRAGMENT_PROGRAM_ARB, 
                          ctx->FragmentProgram.Enabled );
    }
+
+   _tnl_program_string(ctx, target, prog);
 }