<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</tt></b></td></tr>
<tr><td><tt>drivers/<a href="#file1">gl_fbo.c</a></tt></td><td id="added" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ddffdd;" align="right">+12</td><td id="removed" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ffdddd;" align="right">-12</td><td class="headtd2" style="padding-left:.3em;padding-right:.3em;" nowrap="nowrap">f50407acc682 -> a4545699a82b</td></tr>
<tr class="alt" style=";" ><td><tt> /<a href="#file2">video_gl.c</a></tt></td><td id="addedalt" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ccf7cc;" align="right">+11</td><td id="removed" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ffdddd;" align="right">-12</td><td class="headtd2" style="padding-left:.3em;padding-right:.3em;" nowrap="nowrap">f50407acc682 -> a4545699a82b</td></tr>
<tr><td><tt> /<a href="#file3">video_gl.h</a></tt></td><td id="added" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ddffdd;" align="right">+2</td><td id="removed" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ffdddd;" align="right">-2</td><td class="headtd2" style="padding-left:.3em;padding-right:.3em;" nowrap="nowrap">f50407acc682 -> a4545699a82b</td></tr>
<tr class="alt" style=";" ><td><tt> /<a href="#file4">video_glx.c</a></tt></td><td id="addedalt" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ccf7cc;" 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">f50407acc682 -> a4545699a82b</td></tr>
<tr><td><tt>pvr2/<a href="#file5">glutil.h</a></tt></td><td id="added" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ddffdd;" align="right">+8</td><td></td><td class="headtd2" style="padding-left:.3em;padding-right:.3em;" nowrap="nowrap">f50407acc682 -> a4545699a82b</td></tr>
<tr><td></td><td id="added" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ddffdd;" align="right">+37</td><td id="removed" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ffdddd;" align="right">-30</td><td></td></tr>
</table>
<small id="info" style="color: #888888;" >5 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;" >
Use GL_TEXTURE_2D instead of GL_TEXTURE_RECTANGLE_ARB for frame buffers, for
systems that don't provide the latter (and there's not really much
difference anyway).
Add macro wrangling for GL_DEPTH24_STENCIL8 format
</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/drivers</span><br />
<div class="fileheader" style="margin-bottom:.5em;" ><big><b>gl_fbo.c</b></big> <small id="info" style="color: #888888;" >f50407acc682 -> a4545699a82b</small></div>
<pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >--- lxdream/src/drivers/gl_fbo.c
+++ lxdream/src/drivers/gl_fbo.c
@@ -136,7 +136,7 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > for( i=0; i<gl_fbo_max_attachments; i++ ) {
if( fbo[bufno].tex_ids[i] != -1 ) {
glFramebufferTexture2D(GL_FRAMEBUFFER, ATTACHMENT_POINT(i),
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >- GL_TEXTURE_<span id="removedchars" style="background-color:#ff9999;font-weight:bolder;" >RECTANGLE_ARB</span>, 0, 0);
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+ GL_TEXTURE_<span id="addedchars" style="background-color:#99ff99;font-weight:bolder;" >2D</span>, 0, 0);
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > fbo[bufno].tex_ids[i] = -1;
}
}
</pre><pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >@@ -144,7 +144,7 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > /* Setup the renderbuffers */
if( gl_fbo_have_packed_stencil ) {
glBindRenderbuffer(GL_RENDERBUFFER, fbo[bufno].depth_id);
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >- glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH24_STENCIL8<span id="removedchars" style="background-color:#ff9999;font-weight:bolder;" >_EXT</span>, width, height);
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+ glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH24_STENCIL8, width, height);
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT,
GL_RENDERBUFFER, fbo[bufno].depth_id);
glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT,
</pre><pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >@@ -209,9 +209,9 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > attach = 0;
}
fbo[fbo_no].tex_ids[attach] = tex_id;
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >- glBindTexture( GL_TEXTURE_<span id="removedchars" style="background-color:#ff9999;font-weight:bolder;" >RECTANGLE_ARB</span>, 0 ); // Ensure the output texture is unbound
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+ glBindTexture( GL_TEXTURE_<span id="addedchars" style="background-color:#99ff99;font-weight:bolder;" >2D</span>, 0 ); // Ensure the output texture is unbound
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > glFramebufferTexture2D(GL_FRAMEBUFFER, ATTACHMENT_POINT(attach),
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >- GL_TEXTURE_<span id="removedchars" style="background-color:#ff9999;font-weight:bolder;" >RECTANGLE_ARB</span>, tex_id, 0 );
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+ GL_TEXTURE_<span id="addedchars" style="background-color:#99ff99;font-weight:bolder;" >2D</span>, tex_id, 0 );
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > /* Set draw/read buffers by default */
glDrawBuffer(ATTACHMENT_POINT(attach));
glReadBuffer(ATTACHMENT_POINT(attach));
</pre><pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >@@ -251,14 +251,14 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > buffer->buf_id = tex;
} else {
buffer->buf_id = tex_id;
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >- glBindTexture( GL_TEXTURE_<span id="removedchars" style="background-color:#ff9999;font-weight:bolder;" >RECTANGLE_ARB</span>, tex_id );
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+ glBindTexture( GL_TEXTURE_<span id="addedchars" style="background-color:#99ff99;font-weight:bolder;" >2D</span>, tex_id );
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > }
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >- glBindTexture( GL_TEXTURE_RECTANGLE_ARB, buffer->buf_id );
- glTexImage2D( GL_TEXTURE_RECTANGLE_ARB, 0, GL_RGBA, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL );
- glTexParameteri( GL_TEXTURE_RECTANGLE_ARB, GL_TEXTURE_WRAP_S, GL_CLAMP );
- glTexParameteri( GL_TEXTURE_RECTANGLE_ARB, GL_TEXTURE_WRAP_T, GL_CLAMP );
- glTexParameteri( GL_TEXTURE_RECTANGLE_ARB, GL_TEXTURE_MIN_FILTER, GL_NEAREST );
- glTexParameteri( GL_TEXTURE_RECTANGLE_ARB, GL_TEXTURE_MAG_FILTER, GL_NEAREST );
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+ glBindTexture( GL_TEXTURE_2D, buffer->buf_id );
+ glTexImage2D( GL_TEXTURE_2D, 0, GL_RGBA, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL );
+ glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP );
+ glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP );
+ glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST );
+ glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST );
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > return buffer;
}
</pre><pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >@@ -276,7 +276,7 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > if( fbo[i].tex_ids[j] == buffer->buf_id ) {
glBindFramebuffer(GL_FRAMEBUFFER, fbo[i].fb_id);
glFramebufferTexture2D(GL_FRAMEBUFFER, ATTACHMENT_POINT(j),
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >- GL_TEXTURE_<span id="removedchars" style="background-color:#ff9999;font-weight:bolder;" >RECTANGLE_ARB</span>, GL_NONE, 0 );
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+ GL_TEXTURE_<span id="addedchars" style="background-color:#99ff99;font-weight:bolder;" >2D</span>, GL_NONE, 0 );
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > fbo[i].tex_ids[j] = -1;
return;
}
</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/drivers</span><br />
<div class="fileheader" style="margin-bottom:.5em;" ><big><b>video_gl.c</b></big> <small id="info" style="color: #888888;" >f50407acc682 -> a4545699a82b</small></div>
<pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >--- lxdream/src/drivers/video_gl.c
+++ lxdream/src/drivers/video_gl.c
@@ -38,7 +38,6 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > glLoadIdentity();
glEnable( GL_BLEND );
glDisable( GL_TEXTURE_2D );
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >- glDisable( GL_TEXTURE_RECTANGLE_ARB );
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > glDisable( GL_ALPHA_TEST );
glDisable( GL_DEPTH_TEST );
glDisable( GL_SCISSOR_TEST );
</pre><pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >@@ -82,11 +81,11 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > {
float top, bottom;
if( inverted ) {
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >- top = ((float)height);
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+ top = 1;
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > bottom = 0;
} else {
top = 0;
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >- bottom = ((float)height);
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+ bottom = 1;
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > }
/* Reset display parameters */
</pre><pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >@@ -128,24 +127,24 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > }
/* Render the textured rectangle */
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >- glEnable( GL_TEXTURE_RECTANGLE_ARB );
- glBindTexture( GL_TEXTURE_RECTANGLE_ARB, tex_id );
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+ glEnable( GL_TEXTURE_2D );
+ glBindTexture( GL_TEXTURE_2D, tex_id );
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > glTexEnvi( GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE );
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >- glTexParameteri(GL_TEXTURE_RECTANGLE_ARB, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
- glTexParameteri(GL_TEXTURE_RECTANGLE_ARB, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+ glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
+ glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > glEnable( GL_BLEND );
glBlendFunc( GL_ONE, GL_ZERO );
glBegin( GL_QUADS );
glTexCoord2f( 0, top );
glVertex2f( x1, y1 );
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >- glTexCoord2f( ((float)width), top );
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+ glTexCoord2f( 1, top );
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > glVertex2f( x2, y1 );
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >- glTexCoord2f( <span id="removedchars" style="background-color:#ff9999;font-weight:bolder;" >((float)width)</span>, bottom );
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+ glTexCoord2f( <span id="addedchars" style="background-color:#99ff99;font-weight:bolder;" >1</span>, bottom );
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > glVertex2f( x2, y2 );
glTexCoord2f( 0, bottom );
glVertex2f( x1, y2 );
glEnd();
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >- glDisable( GL_TEXTURE_<span id="removedchars" style="background-color:#ff9999;font-weight:bolder;" >RECTANGLE_ARB</span> );
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+ glDisable( GL_TEXTURE_<span id="addedchars" style="background-color:#99ff99;font-weight:bolder;" >2D</span> );
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > glFlush();
}
</pre><pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >@@ -157,8 +156,8 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > int rowstride = (frame->rowstride / bpp) - frame->width;
glPixelStorei( GL_UNPACK_ROW_LENGTH, rowstride );
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >- glBindTexture( GL_TEXTURE_RECTANGLE_ARB, tex_id );
- glTexSubImage2D( GL_TEXTURE_RECTANGLE_ARB, 0, 0,0,
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+ glBindTexture( GL_TEXTURE_2D, tex_id );
+ glTexSubImage2D( GL_TEXTURE_2D, 0, 0,0,
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > frame->width, frame->height, format, type, frame->data );
return TRUE;
}
</pre></div>
<hr /><a name="file3" /><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/drivers</span><br />
<div class="fileheader" style="margin-bottom:.5em;" ><big><b>video_gl.h</b></big> <small id="info" style="color: #888888;" >f50407acc682 -> a4545699a82b</small></div>
<pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >--- lxdream/src/drivers/video_gl.h
+++ lxdream/src/drivers/video_gl.h
@@ -39,12 +39,12 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > void gl_display_blank( uint32_t colour );
/**
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >- * Write a rectangular texture (GL_TEXTURE_<span id="removedchars" style="background-color:#ff9999;font-weight:bolder;" >RECTANGLE_ARB</span>) to the display frame
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+ * Write a rectangular texture (GL_TEXTURE_<span id="addedchars" style="background-color:#99ff99;font-weight:bolder;" >2D</span>) to the display frame
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > */
void gl_display_render_buffer( render_buffer_t buffer );
/**
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >- * Write a rectangular texture (GL_TEXTURE_<span id="removedchars" style="background-color:#ff9999;font-weight:bolder;" >RECTANGLE_ARB</span>) to the display frame
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+ * Write a rectangular texture (GL_TEXTURE_<span id="addedchars" style="background-color:#99ff99;font-weight:bolder;" >2D</span>) to the display frame
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > */
void gl_texture_window( int width, int height, int tex_id, gboolean inverted );
</pre></div>
<hr /><a name="file4" /><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/drivers</span><br />
<div class="fileheader" style="margin-bottom:.5em;" ><big><b>video_glx.c</b></big> <small id="info" style="color: #888888;" >f50407acc682 -> a4545699a82b</small></div>
<pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >--- lxdream/src/drivers/video_glx.c
+++ lxdream/src/drivers/video_glx.c
@@ -367,8 +367,8 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > if( buffer->tex_id != 0 ) {
// The pbuffer should already be the current context, but just in case...
glXMakeContextCurrent( video_x11_display, (GLXPbuffer)buffer->buf_id, (GLXPbuffer)buffer->buf_id, glx_context );
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >- glBindTexture( GL_TEXTURE_RECTANGLE_ARB, buffer->tex_id );
- glCopyTexImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, GL_RGBA, 0, 0, buffer->width, buffer->height, 0 );
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+ glBindTexture( GL_TEXTURE_2D, buffer->tex_id );
+ glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 0, 0, buffer->width, buffer->height, 0 );
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > }
}
</pre><pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >@@ -382,8 +382,8 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > glFinish();
glReadBuffer( GL_FRONT );
glXMakeContextCurrent( video_x11_display, (GLXPbuffer)buffer->buf_id, (GLXPbuffer)buffer->buf_id, glx_context );
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >- glBindTexture( GL_TEXTURE_RECTANGLE_ARB, glx_pbuffer_texture );
- glCopyTexImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, GL_RGBA, 0, 0, buffer->width, buffer->height, 0 );
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+ glBindTexture( GL_TEXTURE_2D, glx_pbuffer_texture );
+ glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 0, 0, buffer->width, buffer->height, 0 );
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > video_glx_make_window_current();
gl_texture_window( buffer->width, buffer->height, glx_pbuffer_texture, buffer->inverted );
}
</pre></div>
<hr /><a name="file5" /><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.h</b></big> <small id="info" style="color: #888888;" >f50407acc682 -> a4545699a82b</small></div>
<pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >--- lxdream/src/pvr2/glutil.h
+++ lxdream/src/pvr2/glutil.h
@@ -89,6 +89,14 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > #define GL_DEPTH_ATTACHMENT GL_DEPTH_ATTACHMENT_EXT
#endif
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+#ifndef GL_DEPTH24_STENCIL8
+#if defined(GL_DEPTH24_STENCIL8_EXT)
+#define GL_DEPTH24_STENCIL8 GL_DEPTH24_STENCIL8_EXT
+#elif defined(GL_DEPTH24_STENCIL8_OES)
+#define GL_DEPTH24_STENCIL8 GL_DEPTH24_STENCIL8_OES
+#endif
+#endif
+
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > #if defined(GL_FRAMEBUFFER_COMPLETE_EXT) && !defined(GL_FRAMEBUFFER_COMPLETE)
#define GL_FRAMEBUFFER_COMPLETE GL_FRAMEBUFFER_COMPLETE_EXT
#endif
</pre></div>
<center><small>Chaos Theory</small></center>
</div></body></html>