Mesa 11.0.2 can't create context.

Jacek Blumenfeld <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <[email protected]>
Hi! 
I have build mesa 11.0.2 with scnons using this configuration: scons  openmp=yes MSVC_VERSION=12.0. I would like to use off-screen rendering with osmesa. After creating context and making it current with:

ctx = OSMesaCreateContextExt(OSMESA_RGBA, 16, 0, 0, NULL);
OSMesaMakeCurrent(ctx, buffer, GL_UNSIGNED_BYTE, Width, Height);

it seems that it is not being created: glGetIntegerv(_ functions return arbitrary values and glGetString(GL_VERSION),
glGetString(GL_RENDER) and glGetString(GL_VENDOR) returns null.

I’m also quite sure that osmesa.lib and opengl32.lib are linked properly. While displaying linker status I get this information: 

1>      Searching C:\..\mesa-11.0.2\build\windows-x86_64-debug\gallium\targets\osmesa\osmesa.lib:
1>      Searching C:\..\mesa-11.0.2\build\windows-x86_64-debug\gallium\targets\libgl-gdi\opengl32.lib:

I would be gretful for help. 

Best regards,
Jacek Blumenfeld.

_______________________________________________
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.