[Mesa-dev] [Bug 92020] wglCreatePbufferARB handle attrib error

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 16 08:09:23 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=92020

--- Comment #3 from Emil Velikov <emil.l.velikov at gmail.com> ---
Congratulations - seems like you found a bug in the emulator :-)

I would suggest taking a closer look into the emulator code.

To do things properly it should:
1. Create OpenGL context
2. Call wglGetProcAddress("wglGetExtensionsStringARB")
3. If non NULL, call the function to get a list of WGL extensions
4. Search for "WGL_ARB_render_texture" (the provider of WGL_TEXTURE_TARGET_ARB 
 and WGL_TEXTURE_FORMAT_ARB)
5. Act depending on its presence.

Here are a couple of links which should be useful

[1] https://www.opengl.org/wiki/Load_OpenGL_Functions#Windows_2
[2] https://www.opengl.org/registry/specs/ARB/wgl_render_texture.txt


If you want to add support for the extension in mesa that'll be great. Check
the Developer info [3] page for more details.


Cheers,
Emil

[3] http://www.mesa3d.org/devinfo.html

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150916/7fa11374/attachment-0001.html>


More information about the mesa-dev mailing list