I'm trying to do some things in C using SDL and opengl, and when it comes to drawing textures I can easily if I only want 1 texture object but when trying to put a texture in the background and another to any object both textures are being rendered with the background texture, wanted to know if anyone knows why and can help me with it.
code at link .