init log before everything else, use WMI to read machine and system info, rtt fixed on Samsung A3, try to create different EGL context config
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#define LOG(...) { ((void)__android_log_print(ANDROID_LOG_INFO, "native-engine", __VA_ARGS__)); LogRemote::I.log(__VA_ARGS__); }
|
||||
#elif _WIN32
|
||||
#define LOG(M,...) { printf(M"\n", ##__VA_ARGS__); LogRemote::I.log(M, ##__VA_ARGS__); }
|
||||
#define LOGW(M,...) { wprintf(M"\n", ##__VA_ARGS__); LogRemote::I.log(M, ##__VA_ARGS__); }
|
||||
#endif
|
||||
|
||||
class LogRemote
|
||||
@@ -27,5 +28,6 @@ public:
|
||||
std::string net_request(std::string cmd, std::string data = "");
|
||||
void net_close();
|
||||
void log(const char* format, ...);
|
||||
void log(const wchar_t* format, ...);
|
||||
~LogRemote();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user