[Mesa-dev] rationale for GLubyte pointers for strings?

Henri Verbeet hverbeet at gmail.com
Tue Jul 19 12:58:43 PDT 2011


On 19 July 2011 21:39, tom fogal <tfogal at sci.utah.edu> wrote:
> I think you have misinterpreted my question.
>
> Why not just have glGetString's prototype be:
>
>  const char* glGetString(GLenum);
>
> ? Then (sans the missing const :), your code below would work on *all*
> platforms, MIPSpro or not, with or without a cast.
>
IIRC the idea was for the GL spec to be language independent, or
something along those lines.


More information about the mesa-dev mailing list