Render a textured rectangle with PyOpenGL
I'm working on a project using PyOpenGL, and I'm currently attempting to get OpenGL to render a kind of splash screen. My decided solution to this is to draw a textured 2D rectangle. Unfortunately, it appears that no matter what I do, nothing is ever drawn, I just get a black screen (So I guess something is drawn, otherwise it would be a transparent window, but it's definitely not what I want). Here is the pertinent code for my class: class ClassThing: def __init__(self): self.Splash = True glutInit(sys.argv) def TexFromPNG(self, filename): img = Image.open(filename) img_data = numpy.array