mesa: for GLSL_DUMP_ON_ERROR, also dump the info log
authorBrian Paul <brianp@vmware.com>
Tue, 5 Nov 2013 23:58:15 +0000 (16:58 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 6 Nov 2013 16:04:16 +0000 (09:04 -0700)
commit36f1c6e3db6b8010ce4f06ed33e69f628b67e293
tree60ada6e87a88df24406307c30fa7717408710531
parent5580ff818e0559099ffc79af60872908e9d5d747
mesa: for GLSL_DUMP_ON_ERROR, also dump the info log

Since it's helpful to know why the shader did not compile.
Also, call fflush() for Windows.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/main/shaderapi.c