Skip to content

Commit 84dc66c

Browse files
committed
Fix SOKOL_IMPL.
1 parent 86ec78a commit 84dc66c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#include "sokol_app.h"
22
#include "sokol_gfx.h"
3-
#define SOKOL_IMPL
43
#include "imgui.h"
5-
#include "util/sokol_imgui.h"
4+
#include "util/sokol_imgui.h"

viewer/src/viewer.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include "rive/shapes/paint/color.hpp"
66

77
// Graphics and UI abstraction
8+
#define SOKOL_IMPL
89
#include "sokol_app.h"
910
#include "sokol_gfx.h"
1011
#include "sokol_glue.h"
@@ -217,4 +218,4 @@ sapp_desc sokol_main(int argc, char* argv[])
217218
#endif
218219
.width = 800, .height = 600, .icon.sokol_default = true, .gl_force_gles2 = true,
219220
};
220-
}
221+
}

0 commit comments

Comments
 (0)