<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>? about GEM #ifdef's</title></head><body>
<div>hiya,</div>
<div><br></div>
<div>...well, on OS X, I finally think I've got a better way of
opening movies (and therefore everything else) that does without the
copy from offscreen buffer to image.data...however, it did make me
wonder what a coupla #ifdef's are, or at least their purpose:</div>
<div><br></div>
<div>#ifdef<font size="-1" color="#683821">
GL_VERSION_1_1</font></div>
<div>...and...</div>
<div><font size="-1" color="#683821">#elif
GL_EXT_texture_object</font></div>
<div><font size="-1" color="#683821"><br></font></div>
<div><font size="-1" color="#683821">...I know that OS X supports
GL_Version 1.3 in hardware and 1.1 in software (at least on my Radeon
mobility), but I don't see a GL extension for
GL_EXT_texture_object...is this some kind of legacy
extension?</font></div>
<div><font size="-1" color="#683821"><br></font></div>
<div><font size="-1" color="#683821">Also, is the #ifdef
GL_VERSION_1_1 valid for version 1.1 and higher?</font></div>
<div><font size="-1" color="#683821"><br></font></div>
<div><font size="-1" color="#683821">I'm quickly coming to an
understanding that I need to acquaint myself with the &quot;red book&quot;
a bit more, cuz I just spent the last week trying figure out why
textures came out weird, and it turns out to just be a need for
GL_UNSIGNED_INT_8_8_8_8_REV instead of GL_UNSIGNED_BYTE...at least as
far as GL_RGBA goes!</font></div>
<div><font size="-1" color="#683821"><br></font></div>
<div><font size="-1" color="#683821">Lastly, maybe it would be a good
idea to central-ly locate and explain all of the existent
&quot;#ifdef's&quot; in a readme file, so there'd be less confusion
for new contributors...</font></div>
<div><font size="-1" color="#683821"><br></font></div>
<div><font size="-1" color="#683821">l8r,</font></div>
<div><font size="-1" color="#683821">jamie</font></div>
</body>
</html>