mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-12 03:07:11 +01:00
fixed android one more time
This commit is contained in:
parent
ac875aee3b
commit
b32618708f
@ -1,17 +1,15 @@
|
|||||||
#include <backend.h>
|
#include <backend.h>log
|
||||||
#include "android_backend.h"
|
#include "android_backend.h"
|
||||||
#include <core.h>
|
#include <core.h>
|
||||||
#include <gui/gui.h>
|
#include <gui/gui.h>
|
||||||
#include "imgui.h"
|
#include "imgui.h"
|
||||||
#include "imgui_impl_android.h"
|
#include "imgui_impl_android.h"
|
||||||
#include "imgui_impl_opengl3.h"
|
#include "imgui_impl_opengl3.h"
|
||||||
#include <android/log.h>
|
|
||||||
#include <android_native_app_glue.h>
|
#include <android_native_app_glue.h>
|
||||||
#include <android/asset_manager.h>
|
#include <android/asset_manager.h>
|
||||||
#include <EGL/egl.h>
|
#include <EGL/egl.h>
|
||||||
#include <GLES3/gl3.h>
|
#include <GLES3/gl3.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <spdlog/sinks/android_sink.h>
|
|
||||||
#include <gui/icons.h>
|
#include <gui/icons.h>
|
||||||
#include <gui/style.h>
|
#include <gui/style.h>
|
||||||
#include <gui/menus/theme.h>
|
#include <gui/menus/theme.h>
|
||||||
@ -473,11 +471,6 @@ extern "C" {
|
|||||||
}
|
}
|
||||||
backend::initialized = true;
|
backend::initialized = true;
|
||||||
|
|
||||||
// prepare spdlog
|
|
||||||
auto console_sink = std::make_shared<flog::sinks::android_sink_st>("SDR++");
|
|
||||||
auto logger = std::shared_ptr<flog::logger>(new flog::logger("", { console_sink }));
|
|
||||||
flog::set_default_logger(logger);
|
|
||||||
|
|
||||||
// Grab files dir
|
// Grab files dir
|
||||||
std::string appdir = backend::getAppFilesDir();
|
std::string appdir = backend::getAppFilesDir();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user