Integrates libuv's default loop with GLFW's glfwWaitEvents() call. See https://github.com/joyent/libuv/issues/1246 for more details on integrating event loops. fixes #149
15 lines
286 B
Plaintext
15 lines
286 B
Plaintext
// #import <Foundation/Foundation.h>
|
|
// #import <AppKit/AppKit.h>
|
|
|
|
#include "settings.hpp"
|
|
#include "../common/glfw_view.hpp"
|
|
|
|
int main() {
|
|
llmr::Settings_MacOSX settings;
|
|
MapView view(settings);
|
|
view.init();
|
|
int ret = view.run();
|
|
settings.sync();
|
|
return ret;
|
|
}
|