OpenGL timer query problem