Make openGL context current when recording frame triggered by cursor move

recordFrame requires an openGL context. This is typically done after a frame is rendered, but when we send a frame after a cursor move this is not guaranteed.

BUG: 448162

Merge request reports

Loading