<html>
<body>
  <div id="body" style="background-color:#ffffff;" >
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head" style="border-bottom-width:1px;border-bottom-style:solid;" ><td class="headtd" style="padding:0;padding-top:.2em;" colspan="4">Commit in <b><tt>lxdream/src/pvr2</tt></b></td></tr>
<tr><td><tt><a href="#file1">gl_sl.c</a></tt></td><td id="added" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ddffdd;" align="right">+4</td><td id="removed" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ffdddd;" align="right">-4</td><td class="headtd2" style="padding-left:.3em;padding-right:.3em;" nowrap="nowrap">e48ea82eb72c -> 0ea1904e2b14</td></tr>
<tr class="alt" style=";" ><td><tt><a href="#file2">glutil.c</a></tt></td><td id="addedalt" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ccf7cc;" align="right">+1</td><td id="removed" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ffdddd;" align="right">-1</td><td class="headtd2" style="padding-left:.3em;padding-right:.3em;" nowrap="nowrap">e48ea82eb72c -> 0ea1904e2b14</td></tr>
<tr><td></td><td id="added" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ddffdd;" align="right">+5</td><td id="removed" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ffdddd;" align="right">-5</td><td></td></tr>
</table>
<small id="info" style="color: #888888;" >2 modified files</small><br />
<pre class="comment" style="white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;white-space:pre-wrap;word-wrap:break-word;padding:4px;border:1px dashed #000000;background-color:#ffffdd;" >
Assume that shaders are available on GLES2 (true by definition)
</pre>
<hr /><a name="file1" /><div class="file" style="border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;" >
<span class="pathname" style="font-family:monospace; float:right;" >lxdream/src/pvr2</span><br />
<div class="fileheader" style="margin-bottom:.5em;" ><big><b>gl_sl.c</b></big> <small id="info" style="color: #888888;" >e48ea82eb72c -> 0ea1904e2b14</small></div>
<pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >--- lxdream/src/pvr2/gl_sl.c
+++ lxdream/src/pvr2/gl_sl.c
@@ -50,9 +50,9 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > 
 gboolean glsl_is_supported()
 {
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >-    return isGLExtensionSupported("GL_ARB_fragment_shader") &&
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+    return is<span id="addedchars" style="background-color:#99ff99;font-weight:bolder;" >OpenGLES2() || (is</span>GLExtensionSupported("GL_ARB_fragment_shader") &&
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" >     isGLExtensionSupported("GL_ARB_vertex_shader") &&
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >-    isGLExtensionSupported("GL_ARB_shading_language_100");
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+    isGLExtensionSupported("GL_ARB_shading_language_100")<span id="addedchars" style="background-color:#99ff99;font-weight:bolder;" >)</span>;
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > }
 
 const char *glsl_get_version()
</pre><pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >@@ -182,9 +182,9 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > 
 gboolean glsl_is_supported()
 {
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >-    return isGLExtensionSupported("GL_ARB_fragment_shader") &&
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+    return is<span id="addedchars" style="background-color:#99ff99;font-weight:bolder;" >OpenGLES2() || (is</span>GLExtensionSupported("GL_ARB_fragment_shader") &&
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" >     isGLExtensionSupported("GL_ARB_vertex_shader") &&
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >-    isGLExtensionSupported("GL_ARB_shading_language_100");
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+    isGLExtensionSupported("GL_ARB_shading_language_100")<span id="addedchars" style="background-color:#99ff99;font-weight:bolder;" >)</span>;
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > }
 
 const char *glsl_get_version()
</pre></div>
<hr /><a name="file2" /><div class="file" style="border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;" >
<span class="pathname" style="font-family:monospace; float:right;" >lxdream/src/pvr2</span><br />
<div class="fileheader" style="margin-bottom:.5em;" ><big><b>glutil.c</b></big> <small id="info" style="color: #888888;" >e48ea82eb72c -> 0ea1904e2b14</small></div>
<pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >--- lxdream/src/pvr2/glutil.c
+++ lxdream/src/pvr2/glutil.c
@@ -54,7 +54,7 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" >  */
 gboolean isGLMultitextureSupported()
 {
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >-    if( !isGLExtensionSupported("GL_ARB_multitexture") )
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+    if( !is<span id="addedchars" style="background-color:#99ff99;font-weight:bolder;" >OpenGLES2() && !is</span>GLExtensionSupported("GL_ARB_multitexture") )
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" >         return FALSE;
     int units = 0;
 
</pre></div>
<center><small>Chaos Theory</small></center>
</div></body></html>