Mostly working OSX build options, but it crashes on close with a thread error.
This commit is contained in:
parent
28b900e4ff
commit
e1f9942da3
3 changed files with 54 additions and 24 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue