add remote logging system using curl, normalize log messages removing \n, fix fra shaders precision issue, enable core and forward comp. in WGL, disable multisampling,
This commit is contained in:
12
engine/pch.h
12
engine/pch.h
@@ -9,7 +9,6 @@
|
||||
#include <sys/types.h>
|
||||
#include <dirent.h>
|
||||
|
||||
#define LOG(M,...) printf(M"\n", ##__VA_ARGS__)
|
||||
#define SHADER_VERSION "#version 150\n"
|
||||
|
||||
#elif __ANDROID__
|
||||
@@ -21,7 +20,6 @@
|
||||
#include <android/log.h>
|
||||
#include <android_native_app_glue.h>
|
||||
|
||||
#define LOG(...) ((void)__android_log_print(ANDROID_LOG_INFO, "native-engine", __VA_ARGS__))
|
||||
#define SHADER_VERSION "#version 300 es\n"
|
||||
|
||||
#elif _WIN32
|
||||
@@ -32,8 +30,8 @@
|
||||
#include <gl\wglew.h>
|
||||
#include <gl\GL.h>
|
||||
|
||||
#define LOG(M,...) printf(M"\n", ##__VA_ARGS__)
|
||||
#define SHADER_VERSION "#version 150\n"
|
||||
#define SHADER_VERSION "#version 150\n"
|
||||
|
||||
#endif
|
||||
|
||||
#define NS_START namespace ui {
|
||||
@@ -44,13 +42,16 @@
|
||||
#include <cmath>
|
||||
#include <stack>
|
||||
#include <regex>
|
||||
#include <mutex>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <random>
|
||||
#include <thread>
|
||||
#include <iostream>
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
#include <condition_variable>
|
||||
|
||||
#define GLM_FORCE_RADIANS
|
||||
#define GLM_FORCE_SWIZZLE
|
||||
@@ -68,3 +69,6 @@
|
||||
#include <yoga/Yoga.h>
|
||||
#include <stb/stb_truetype.h>
|
||||
#include <stb/stb_image.h>
|
||||
#include <curl/curl.h>
|
||||
|
||||
#include "log.h"
|
||||
|
||||
Reference in New Issue
Block a user