Patch from <haihao.xiang@intel.com> -- pass program string
notification callback through to tnl/ module, fixes glean crash.
This commit is contained in:
@@ -937,6 +937,8 @@ static void i915ProgramStringNotify( GLcontext *ctx,
|
|||||||
ctx->Driver.Enable( ctx, GL_FRAGMENT_PROGRAM_ARB,
|
ctx->Driver.Enable( ctx, GL_FRAGMENT_PROGRAM_ARB,
|
||||||
ctx->FragmentProgram.Enabled );
|
ctx->FragmentProgram.Enabled );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_tnl_program_string(ctx, target, prog);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user