Browse code

WIP: Add GLBackendWxWidgets

Robert Cranston authored on 20/10/2021 21:11:33
Showing 1 changed files
... ...
@@ -8,6 +8,9 @@
8 8
 #elif defined(GLBACKEND_SDL)
9 9
     #include "glbackend_sdl.hpp" // IWYU pragma: export
10 10
     using GLBackendDefault = GLBackendSDL;
11
+#elif defined(GLBACKEND_WXWIDGETS)
12
+    #include "glbackend_wxwidgets.hpp" // IWYU pragma: export
13
+    using GLBackendDefault = GLBackendWxWidgets;
11 14
 #else
12 15
     #error "No GLBackendDefault configured"
13 16
 #endif
Browse code

WIP: Add GLBackendSDL

Robert Cranston authored on 12/10/2021 04:12:23
Showing 1 changed files
... ...
@@ -5,6 +5,9 @@
5 5
 #if defined(GLBACKEND_GLFW)
6 6
     #include "glbackend_glfw.hpp" // IWYU pragma: export
7 7
     using GLBackendDefault = GLBackendGLFW;
8
+#elif defined(GLBACKEND_SDL)
9
+    #include "glbackend_sdl.hpp" // IWYU pragma: export
10
+    using GLBackendDefault = GLBackendSDL;
8 11
 #else
9 12
     #error "No GLBackendDefault configured"
10 13
 #endif
Browse code

Add GLBackendGLFW

Robert Cranston authored on 12/10/2021 04:08:43
Showing 1 changed files
... ...
@@ -2,7 +2,10 @@
2 2
 #define GLBACKEND_DEFAULT_HPP_
3 3
 
4 4
 
5
-#if 1
5
+#if defined(GLBACKEND_GLFW)
6
+    #include "glbackend_glfw.hpp" // IWYU pragma: export
7
+    using GLBackendDefault = GLBackendGLFW;
8
+#else
6 9
     #error "No GLBackendDefault configured"
7 10
 #endif
8 11
 
Browse code

Add GLBackend, GLBackendDefault

Robert Cranston authored on 12/10/2021 00:02:06
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,10 @@
1
+#ifndef GLBACKEND_DEFAULT_HPP_
2
+#define GLBACKEND_DEFAULT_HPP_
3
+
4
+
5
+#if 1
6
+    #error "No GLBackendDefault configured"
7
+#endif
8
+
9
+
10
+#endif