[Mesa-dev] [Mesa-users] glClearColor is broken in a weird way if compiled with mangling enabled

Yuzhu Lu yuzhu at wolfram.com
Mon Sep 21 09:29:55 PDT 2015


With this patch: https://bugs.freedesktop.org/show_bug.cgi?id=91724, osmesa builds fine, but OpenGL2 shader related functions like glCreateShader does not work (It always return 0). Pre 2 fixed pipeline functions all work fine. Does anyone have any clue about this? 

Yuzhu 

----- On Aug 24, 2015, at 10:21 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote: 

> On 24 August 2015 at 16:10, Brian Paul <brianp at vmware.com> wrote:
> > Sounds like the file is being compiled without having proper prototypes for
> > all the mgl functions. Do you see any compiler warnings when you build?
> > What gcc compiler options are you using?

> Ftr I haven't been able to build mangled GL for as far as I started
> building mesa (2+ years).
> All cases, that I recall, ended up as Yuzhu reported - undefined
> reference to "glFoo"

> Would be great to have it fixed (patches welcome), but I'd like to
> remove the shared-glapi option first ;-)

> Cheers,
> Emil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150921/08c66811/attachment.html>


More information about the mesa-dev mailing list