id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
2144,The OpenGL binding uses withCAStringLen where it should use withCAString,guest,,"In the module `Graphics.Rendering.OpenGL.GL.Shaders` (and possibly in other parts of the OpenGL binding, I didn't check) when passing a string to the OpenGL drivers, the library always uses `withCAStringLen` to marshal the strings, which does not put the required the zero byte at the end of the string. This causes the functions `getAttribLocation`, `bindAttribLocation` and `uniformLocation` to fail randomly (it was a real pain to localize this bug...). The solution is to use `withCAString` in these cases instead (and meantime, as a workaround, to put the zero character there manually in the client code). ",bug,closed,normal,,libraries (other),6.8.2,invalid,,bkomuves@…,Unknown/Multiple,Unknown/Multiple,,Unknown,,,,
