Ok, bar that idea, I'll post it here first and save a thread...

I'm trying to copy a texture to another texture with
Code:
glBindTexture(GL_TEXTURE_2D, Src.Texture);
glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, Src.GlWidth, Src.GlHeight, GL_RGBA, GL_UNSIGNED_BYTE, Dest);
I think the glBind works since I have found no evidence to the contrary... glTexSubImage2D though, is being a pain. Whenever I run the application from a terminal, I get a crash. And whenever I run it from GDB it just hangs. Any ideas? I tried FBOs to 'render' one onto the other with no success. I don't know if it has either to do with my C/C++ reading but it compiles fine or with OpenGl extensions (i think the latter is more likely but not sure).

Any help would be very greatly appreciated. Of course any other fast alternatives to duplicating/copying a texture are welcome.

cheers,
code_glitch