
New GetActiveUniformName overload returns garbage
Posted Wednesday, 21 October, 2009 - 17:26 by the Fiddler| Project: | The Open Toolkit library |
| Version: | 1.0-beta-1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
(Originally reported by kvark, here)
GetActiveUniformName returns garbage: 'Vertex sha'
Looks like a shader info log trimmed by uniform name max length.


Comments
#1
Fixed in rev. 2366.
The issue was that the new overloads used StringBuilder.Length (which is 0) instead of StringBuilder.Capacity for the buffer size.
#2
Cool, thanks!
#3
Closing issues fixed in 1.0 beta-1.