<div class="gmail_quote">On 2 March 2012 18:39, Eric Anholt <span dir="ltr">&lt;<a href="mailto:eric@anholt.net">eric@anholt.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Fri,  2 Mar 2012 15:40:20 -0800, Paul Berry &lt;<a href="mailto:stereotype441@gmail.com">stereotype441@gmail.com</a>&gt; wrote:<br>
&gt; Several tests were checking for the presence of GL extensions using<br>
&gt; GLEW macros.  This patch changes the tests to use<br>
&gt; piglit_is_extension_supported(), which provides the same functionality<br>
&gt; in a way that is not dependent on GLEW.<br>
<br>
</div><div class="im">&gt; diff --git a/tests/fbo/fbo-clear-formats.c b/tests/fbo/fbo-clear-formats.c<br>
&gt; index df0d854..ab41c45 100644<br>
&gt; --- a/tests/fbo/fbo-clear-formats.c<br>
&gt; +++ b/tests/fbo/fbo-clear-formats.c<br>
&gt; @@ -271,7 +271,7 @@ test_mipmap_drawing(int x, int y, int dim, int level, GLuint internalformat)<br>
&gt;       if (compressed &amp;&amp; dim &lt; 8)<br>
&gt;               return GL_TRUE;<br>
&gt;<br>
&gt; -     if (GLEW_ARB_depth_texture) {<br>
&gt; +     if (piglit_is_extension_supported(&quot;ARB_depth_texture&quot;)) {<br>
&gt;               glGetTexLevelParameteriv(GL_TEXTURE_2D, level,<br>
&gt;                                        GL_TEXTURE_DEPTH_SIZE, &amp;d_size);<br>
<br>
</div>The other callers of piglit_is_extension_supported() ask for<br>
GL_ARB_whatever instead of ARB_whatever.  Seems like we should stick<br>
with that.<br>
</blockquote></div><br><div>Oh yeah.  You&#39;re right.  I&#39;ll fix that.</div>