Messed with the glInit method and PNG_Texture's draw method.