diff options
author | Yuanhan Liu <[email protected]> | 2011-11-09 14:55:53 +0800 |
---|---|---|
committer | Yuanhan Liu <[email protected]> | 2011-11-15 16:25:40 +0800 |
commit | 9d4d9d34d82646e4e7781bb25a64174d35680578 (patch) | |
tree | 5c3d211a2a30826fcf2fce1ac526117a642d4d97 /src/mesa/program/prog_parameter.c | |
parent | f1a677cefbe91a5c1a72dbeda94d2f13a9369e54 (diff) |
ir_to_mesa: don't init unfirom if link failed
Don't call set_unfiform_initializers if link failed, or it would trigger
a GL_INVALID_OPERATION error. That's not an expected behavior of
glLinkProgram function.
Signed-off-by: Yuanhan Liu <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_parameter.c')
0 files changed, 0 insertions, 0 deletions