Trying to improve OpenGL creation