blob: 9e2a4cd68ca20217aa4b9971595c4c224f985dd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include "sokol_app.h"
#include "sokol_gfx.h"
#if defined(_MSC_VER )
#pragma warning(disable:4201) // nonstandard extension used: nameless struct/union
#pragma warning(disable:4214) // nonstandard extension used: bit field types other than int
#endif
#include "cimgui.h"
#define SOKOL_IMPL
#define SOKOL_IMGUI_NO_SOKOL_APP
#include "sokol_imgui.h"
void use_imgui_impl(void) {
simgui_setup(&(simgui_desc_t){0});
}
int main(void) {
return 0;
}
|