Skip to content

Commit

Permalink
rework swapchain (and OOM handling) on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Try committed Dec 23, 2024
1 parent 6c7ff5e commit 46ed4ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions game/ui/videowidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,10 @@ void VideoWidget::keyUpEvent(KeyEvent&) {
}

void VideoWidget::mouseDownEvent(Tempest::MouseEvent& event) {
if(!active) {
event.ignore();
return;
}
#if defined(__MOBILE_PLATFORM__)
stopVideo();
#endif
Expand Down
2 changes: 1 addition & 1 deletion lib/Tempest

0 comments on commit 46ed4ed

Please sign in to comment.