[Mesa-dev] [Bug 66346] shader_query.cpp:49: error: invalid conversion from 'void*' to 'GLuint'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 7 03:26:55 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=66346

--- Comment #4 from Ian Romanick <idr at freedesktop.org> ---
This is in glext.h:

#ifdef __APPLE__
typedef void *GLhandleARB;
#else
typedef unsigned int GLhandleARB;
#endif

Thanks, Apple!

I think Mesa is just broken on Apple, probably forever, because of this.  We
assume *everywhere* that GLhandleARB == GLuint... to the point that
glGetActiveAttrib and glGetActiveAttribARB (and many, many others) are the same
function.

This occurs in shader_query.cpp, uniforms.c, uniform_query.cpp, shaderapi.c,
and dlist.c.

I'm honestly inclined to close this as WONTFIX...

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140307/11b0dd42/attachment.html>


More information about the mesa-dev mailing list