<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - [r600g] ogl-samples GL3.2 and GL3.3 tests doesn't run without overriding GL/GLSL version"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=77582#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - [r600g] ogl-samples GL3.2 and GL3.3 tests doesn't run without overriding GL/GLSL version"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=77582">bug 77582</a>
              from <span class="vcard"><a class="email" href="mailto:b.bellec@gmail.com" title="Benjamin Bellec <b.bellec@gmail.com>"> <span class="fn">Benjamin Bellec</span></a>
</span></b>
        <pre>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:
<a href="http://sourceforge.net/p/glew/bugs/174/">http://sourceforge.net/p/glew/bugs/174/</a>

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

So I guess ogl-samples should not use GLEW.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>