OpenGL setup before cleaning