Mostly working OSX build options, but it crashes on close with a thread error.

This commit is contained in:
Zed A. Shaw 2025-03-06 14:11:12 -05:00
parent 28b900e4ff
commit e1f9942da3
3 changed files with 54 additions and 24 deletions

View file

@ -128,9 +128,11 @@ namespace gui {
std::optional<Point> MainUI::play_move() {
if($camera.play_move($rayview)) {
$needs_render = false;
return std::make_optional<Point>({
Point pos{
size_t($camera.target_x),
size_t($camera.target_y)});
size_t($camera.target_y)};
return std::make_optional<Point>(pos);
} else {
$needs_render = true;
return std::nullopt;