[Bug 97321] Query INFO_LOG_LENGTH for empty info log should return 0

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 18 08:33:54 UTC 2016


--- Comment #9 from Ian Romanick <idr at freedesktop.org> ---
I guess the point is that you can't change one and not change the other.  I
will not budge on that.

I also think it is wrong for glGetProgramInfoLog to not write a NUL when the
info log is empty.  An application that does something like

    glGetProgramInfoLog(prog, max_length, NULL, log);
    printf("Info log:\n%s\n", log);

will print whatever garbage happens to be in log.  You may argue that the
application is incorrect, but this usage is very, very common (among users of

You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160818/d2d58d5f/attachment.html>

More information about the intel-3d-bugs mailing list