summaryrefslogtreecommitdiff
path: root/project-base/src/lib_loader.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-11-23 22:33:43 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-11-23 22:33:43 +0100
commitb1e857cf1471d1871a9396696b22fa531da98249 (patch)
tree3923008a8653057698cb339faf6dcfa92e18364b /project-base/src/lib_loader.h
parent106bb7fcadf637cec883648916cc8d19529d6199 (diff)
add projbase to repo
Diffstat (limited to 'project-base/src/lib_loader.h')
-rw-r--r--project-base/src/lib_loader.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/project-base/src/lib_loader.h b/project-base/src/lib_loader.h
new file mode 100644
index 0000000..bd62794
--- /dev/null
+++ b/project-base/src/lib_loader.h
@@ -0,0 +1,26 @@
+/*
+* BSD 2-Clause “Simplified” License
+* Copyright (c) 2019, Aldrik Ramaekers, aldrik.ramaekers@protonmail.com
+* All rights reserved.
+*/
+
+#ifndef INCLUDE_LIB_LOADER
+#define INCLUDE_LIB_LOADER
+
+// :/Title Library loader
+// :/Text Contains functions to load the necessary libraries.
+
+#include "external/GL/gl.h"
+#ifdef OS_WIN
+#include "external/GL/wglext.h"
+#endif
+#ifdef OS_LINUX
+#include "external/GL/glx.h"
+#endif
+#include "external/GL/glu.h"
+#include "external/GL/glext.h"
+
+// :/Info Load all required dynamic libraries. Will exit the application when a library or function is missing.
+void _lib_loader_init();
+
+#endif \ No newline at end of file