texture upload question

I assume that when I call glTexImage2D () the OpenGL driver attempts to put the texture into video memory, and if it cannot, then it stuffs it into the next most likely place (AGP?). Is there an easy way to make it simply fail to upload the texture if it cannot fit it into video memory?

Hi !

No, at least no solution that will work with all video cards.