mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-22 06:08:03 +00:00
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled
25 lines
572 B
C
25 lines
572 B
C
#define SOKOL_IMPL
|
|
#if defined(_WIN32)
|
|
#define SOKOL_D3D11
|
|
#elif defined(__EMSCRIPTEN__)
|
|
#define SOKOL_GLES2
|
|
#elif defined(__APPLE__)
|
|
#define SOKOL_METAL
|
|
#else
|
|
#define SOKOL_GLCORE33
|
|
#endif
|
|
#include "sokol_app.h"
|
|
#include "sokol_gfx.h"
|
|
#include "sokol_time.h"
|
|
#include "sokol_fetch.h"
|
|
#include "sokol_glue.h"
|
|
#include "sokol_log.h"
|
|
|
|
#include "util/sokol_gl.h"
|
|
#include <stdio.h> // fontstash requires this
|
|
#include <stdlib.h> // fontstash requires this
|
|
#define FONTSTASH_IMPLEMENTATION
|
|
#include "fontstash.h"
|
|
#define SOKOL_FONTSTASH_IMPL
|
|
#include "util/sokol_fontstash.h"
|