Added EGL linking and useage for the linux cl_khr_gl_sharing

interaction. This still crashes on my machine but at least its getting
closer to working. Fixed some warnings and errors while compiling with
clang++
This commit is contained in:
2017-09-24 17:07:51 -07:00
parent ebce781eb3
commit 7c86c60f9f
11 changed files with 507 additions and 22 deletions

View File

@@ -11,7 +11,7 @@ public:
enum LogDest { STDOUT, FILE };
// Log auto, takes a string and the severity of the log level and either prints it or tosses it
static void log(std::string log_string, LogLevel severity, uint32_t line_number = 0, char* file_name = nullptr);
static void log(std::string log_string, LogLevel severity, uint32_t line_number = 0, const char* file_name = nullptr);
static void set_log_level(LogLevel log_level);
static void set_log_destination(LogDest log_destination);