Own Android storage paths in legacy platform services
This commit is contained in:
@@ -68,9 +68,11 @@ int main(int argc, char** args)
|
||||
glfwSetWindowTitle(wnd, title.c_str());
|
||||
});
|
||||
auto platform_services = pp::platform::legacy::create_platform_services({
|
||||
.acquire_render_context = [wnd] { glfwMakeContextCurrent(wnd); },
|
||||
.present_render_context = [wnd] { glfwSwapBuffers(wnd); },
|
||||
.request_app_close = [wnd] { glfwSetWindowShouldClose(wnd, GLFW_TRUE); },
|
||||
.glfw_shell = {
|
||||
.acquire_render_context = [wnd] { glfwMakeContextCurrent(wnd); },
|
||||
.present_render_context = [wnd] { glfwSwapBuffers(wnd); },
|
||||
.request_app_close = [wnd] { glfwSetWindowShouldClose(wnd, GLFW_TRUE); },
|
||||
},
|
||||
});
|
||||
|
||||
glfwSetCursorPosCallback(wnd, [](GLFWwindow* wnd, double x, double y){
|
||||
|
||||
Reference in New Issue
Block a user