[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
Thu Jul 9 04:14:06 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=66346
Emil Velikov <emil.l.velikov at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #17 from Emil Velikov <emil.l.velikov at gmail.com> ---
A slightly different fix has landed as below. Perhaps one day we'll either get
this upstreamed with Khronos or have our build apply/revert it on demand.
Not a huge deal either way :-)
#ifdef __APPLE__
+#ifdef BUILDING_MESA
+/* Avoid uint <-> void* warnings */
+typedef unsigned long GLhandleARB;
+#else
typedef void *GLhandleARB;
+#endif
--
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/20150709/f038da3b/attachment.html>
More information about the mesa-dev
mailing list