[Mesa-dev] [Bug 77582] [r600g] ogl-samples GL3.2 and GL3.3 tests doesn't run without overriding GL/GLSL version

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 21 11:37:45 PDT 2014


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

--- Comment #6 from Benjamin Bellec <b.bellec at gmail.com> ---
FYI, I looked closely to the code.

The Mesa error came from ogl-samples file "framework/glew.c", line 9535
(extStart = glGetString(GL_EXTENSIONS);).

This GLEW file is the official glew.c version 1.10.0.

And I finally understood that there is two problems:

- current GLEW version doesn't check the GL version and always calls
glGetString(). A patch was submitted more than 2 years but still need to be
commited:
http://sourceforge.net/p/glew/bugs/174/

- GLEW currently doesn't supports core profile:
http://sourceforge.net/p/glew/bugs/209/
and
https://www.opengl.org/discussion_boards/showthread.php/169661-Forcing-Core-Profile-in-GLEW

So I guess ogl-samples should not use GLEW.

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


More information about the mesa-dev mailing list