https://bugs.freedesktop.org/show_bug.cgi?id=93053
--- Comment #1 from Dale Weiler <weilercd...@gmail.com> --- A minor quick fix may look something like this: >> size_t size = 0; >> case GL_PROGRAM_BINARY_LENGTH: >> free(mesa_program_serialize(shProg, &size)); >> *params = size; >> return; Though to be fair, mesa_program_serialize should have an option to query just the size without allocating memory (using blob.position()) -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev