pix_texture.cpp:
Mon Apr 28 17:44:55 2003 UTC (13 days, 16 hours ago) by zmoelnig:
#ifdef GL_TEXTURE_RECTANGLE_EXT
Mon May 12 08:59:48 2003 UTC (94 minutes, 15 seconds ago) by cclepper:
//#ifdef GL_TEXTURE_RECTANGLE_EXT
Mon May 12 10:27:45 2003 UTC (6 minutes, 18 seconds ago) by dheck:
#ifdef GL_TEXTURE_RECTANGLE_EXT
...
???
I think that before going on like this there should be a real solution to the problem. Chris, what is wrong with the #ifdef, and can you think of a better solution to solve the problem ? (Like #if defined(GL_TEXTURE_RECTANGLE_EXT) || defined(DARWIN) .. dunno ... .... YMMV ... something more sensible than commenting out code that was put there for some reason, obviously)
my mistake, i did that to test the code, and forgot to uncomment it before committing. daniel's other ifdef addition is a little curious though, why add an ifdef for GL_CLAMP_TO_EDGE ? can this be user defined option via the 'repeat' message?
cgc
Thanks,
Guenter
Hi all,
On 13/5/03 5:31 AM, "chris clepper" cclepper@artic.edu wrote:
daniel's other ifdef addition is a little curious though, why add an ifdef for GL_CLAMP_TO_EDGE ? can this be user defined option via the 'repeat' message?
GL_CLAMP_TO_EDGE is an openGL 1.2 feature I think. Microsoft's OpenGL interface is still 1.1 so the best we can do is GL_CLAMP if we use their headers.
Daniel
Hi folks,
more on the extension issue... i've just been tracking down some strange behaviour with textures on my windows machine. it has a Geforce2MX with texture rectangle support but i'm compiling with the standard MS gl.h (not nvidia's gl.h)
this brings up a few problems with the present code...
so i was going to add (yet more) #ifdefs so that that extension will only be checked at run-time if the symbol was defined at compile-time. that is, #ifdef the setting of the flag setting. i think this has been implicitly assumed up to now...
does this seem okay to everyone?
Daniel
----- Original Message ----- From: "chris clepper" cclepper@artic.edu To: "guenter geiger" geiger@xdv.org Cc: pd-dev@iem.kug.ac.at Sent: Tuesday, May 13, 2003 5:31 AM Subject: [PD-dev] Re: #ifdef GL_TEXTURE_RECTANGLE_EXT
pix_texture.cpp:
Mon Apr 28 17:44:55 2003 UTC (13 days, 16 hours ago) by zmoelnig:
#ifdef GL_TEXTURE_RECTANGLE_EXT
Mon May 12 08:59:48 2003 UTC (94 minutes, 15 seconds ago) by cclepper:
//#ifdef GL_TEXTURE_RECTANGLE_EXT
Mon May 12 10:27:45 2003 UTC (6 minutes, 18 seconds ago) by dheck:
#ifdef GL_TEXTURE_RECTANGLE_EXT
...
???
I think that before going on like this there should be a real solution to the problem. Chris, what is wrong with the #ifdef, and can you think of a better solution to solve the problem ? (Like #if defined(GL_TEXTURE_RECTANGLE_EXT) || defined(DARWIN) .. dunno ... .... YMMV ... something more sensible than commenting out code that was put there for some reason, obviously)
my mistake, i did that to test the code, and forgot to uncomment it before committing. daniel's other ifdef addition is a little curious though, why add an ifdef for GL_CLAMP_TO_EDGE ? can this be user defined option via the 'repeat' message?
cgc
Thanks,
Guenter
PD-dev mailing list PD-dev@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-dev