Original Post
I have started writting a program that uses OOP object to contain different items to be drawn. However when ever i try to bind a texture to a surface, GL_QUAD, in this case, the texture does not get shown. I know the code is not the problem, and this is what confuses me, the code works when it is used in the same file as main(), and the call is done in a flat file procedual manner. However this is not doable as the program is going to be big, and require reuasability, and likely to have 100's of textures! I am sure i have just done some thing stupid, but i am stumped. There does not seem to be any code samples on the net that use this method of creating and binding textures outside of the main(). The use of objects to carry out all other primative creation is working fine, but i can put textures on them! Thank you for any assistance in this matter. Steven AKA SurreySnYder