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

Yuzhu Lu <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user,gmane.comp.video.mesa3d.devel
Message-ID <[email protected]>
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 <[email protected]> wrote: 

> On 24 August 2015 at 16:10, Brian Paul <[email protected]> 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

_______________________________________________
mesa-users mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.