glGetShaderInfoLog crash

This topic contains 1 reply, has 2 voices, and was last updated by  Xmas 9 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29554

    aking
    Member

    I’ve started trying out GLES 2.0 shaders and noticed a crash with the following call:

            glGetShaderInfoLog(vShader, infoLogLen, NULL, infoLog);

    If I change the NULL to “&charsWritten”, then no crash.  The spec (2.0.22) does say about GetShaderInfoLog:  “If length is NULL, then no length is returned.”

    In this case, I was just being lazy and is no big deal 🙂   Just thought I’d mention it – and btw, thanks very much for the Linux SDK!  I’m running it in a 32bit chroot env under my main 64bit Gentoo system – works very well.

      Adam
      DS Game Developer

    #32214

    Xmas
    Member

    Thank you for reporting this, Adam. We’ll have it fixed in our next SDK release.

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.