| 1 | #define SOKOL_IMPL |
| 2 | #if defined(_MSC_VER) |
| 3 | #define SOKOL_D3D11 |
| 4 | #elif defined(__EMSCRIPTEN__) |
| 5 | #define SOKOL_GLES3 |
| 6 | #elif defined(__APPLE__) |
| 7 | // NOTE: on macOS, sokol.c is compiled explicitly as ObjC |
| 8 | //#define SOKOL_GLCORE |
| 9 | #define SOKOL_METAL |
| 10 | #else |
| 11 | #define SOKOL_GLCORE |
| 12 | #endif |
| 13 | #include "sokol_app.h" |
| 14 | #include "sokol_gfx.h" |
| 15 | #include "sokol_audio.h" |
| 16 | #include "sokol_glue.h" |
| 17 | #include "sokol_log.h" |