Application calling DRI2SwapBuffers twice without updating buffers