trying to debug opengl...