Clearing texture

How do I clear textures to a specific color? Well, I could do it by allocating some memory and then paste it to the texture with glTexSubImage2D() (or passing it to glTexImage2D()). But is there a faster way or a way using lesser memory?

Can you redraw the object with texture disable? Just a suggest

Originally posted by plastichead:
How do I clear textures to a specific color? Well, I could do it by allocating some memory and then paste it to the texture with glTexSubImage2D() (or passing it to glTexImage2D()). But is there a faster way or a way using lesser memory?

Oh yes, that hurts! You are right.