[Mesa-dev] rationale for GLubyte pointers for strings?
akin at arden.org
Tue Jul 19 11:44:02 PDT 2011
On Tue, Jul 19, 2011 at 12:20:54PM -0600, tom fogal wrote:
| glGetString and gluErrorString, plus maybe some other functions, return
| GLubyte pointers instead of simply character pointers...
| What's the rationale here?
I agree, it's odd. I don't remember the rationale, but my best guess is
that it papered over some compatibility issue with another language
binding (probably Fortran). I suppose there's a very slight possibility
that it sprang from a compatibility issue with Cray.
More information about the mesa-dev