On Sat, 26 May 2012 10:22:16 +0300, Oliver McFadden <oliver.mcfad...@linux.intel.com> wrote: > Mesa 8.1-devel implementation error: meta program compile failed: > ��
I think this is the wrong fix. From the GL 3.0 spec: "These commands return the info log string in infoLog. This string will be null terminated. The actual number of characters written into infoLog, excluding the null terminator, is returned in length... The number of characters in the info log can be queried with GetShaderiv or GetProgramiv with INFO LOG LENGTH." So you just need to malloc size + 1.
pgpah9vFixUzm.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev