Re: using chromium and glew?

IOhannes m zmoelnig <[email protected]> Mon, 10 Mar 2008 12:16:56 +0100
Newsgroups gmane.comp.graphics.chromium.user
Organization Institute of Electronic Music and Acoustics, Graz
Message-ID <[email protected]>
IOhannes m zmoelnig wrote:
> Alan Hourihane wrote:

> that is why i try to find out why glewInit() claims to fail (read: not 
> being able to determine which extensions are/openGL version is supported)

ok, i was able to narrow the problem down.

the problem is in some glx-initialisation routine.
glew tries to get the pointer to glXGetCurrentDisplay() by issuing
    glXGetProcAddressARB((const GLubyte*)"glXGetCurrentDisplay")

on my normal system (without chromium) this returns the address of the 
function call.
when running chromium, this calls returns 0


luckily (for me) i currently don't use the glx extension wrangler of 
GLEW, so i have no _real_ problems.

nevertheless i am wondering, why i don't get the correct address when 
using chromium (i guess it will turn into a problem, once somebody wants 
to use glew for glx extension checking in combination with chromium)

any hints?


fgamsdr
IOhannes

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/