[Mesa-users] Mesa 11.0.2 can't create context.
Jacek Blumenfeld
jacek.blumenfeld at gmail.com
Mon Oct 5 12:26:43 PDT 2015
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-users/attachments/20151005/40565e12/attachment.html>
More information about the mesa-users
mailing list