How to fill polygon with an image. OpenGl C++

Just looking for an easy way to fill a rectangle with an image in openGL c++ . What would be the best way to do this? I have an PNG image that I want to use. I am creating a billboard in my program and just need to fill it with the picture. If you could show me using sample code that would be great. Thanks.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.