- /*
- * XXX: Frame termination is mostly a guess, because we don't trace enough
- * of the CGL API to know that.
- */
- if (drawable && context) {
- if (double_buffer) {
- drawable->swapBuffers();
- } else {
- glFlush();
- }
-
- frame_complete(call.no);
- }
-