Bind non-Windows platform services explicitly
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <GLFW/glfw3.h>
|
||||
#include <app.h>
|
||||
#include <platform_legacy/legacy_platform_state.h>
|
||||
#include <platform_legacy/legacy_platform_services.h>
|
||||
#include <libgen.h>
|
||||
#include <pwd.h>
|
||||
#include <unistd.h>
|
||||
@@ -120,6 +121,7 @@ int main(int argc, char** args)
|
||||
|
||||
App::I = &app;
|
||||
pp::platform::legacy::set_legacy_glfw_window(wnd);
|
||||
app.set_platform_services(&pp::platform::legacy::platform_services());
|
||||
app.initLog();
|
||||
app.create();
|
||||
app.width = 800;
|
||||
|
||||
Reference in New Issue
Block a user