blob: b523f1358584cb09fd4c382e5e44d21b064226d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#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"
#include "sokol_imgui.h"
#define SOKOL_IMPL
#include "sokol_gfx_imgui.h"
void use_gfx_imgui_impl(void) {
sgimgui_setup(&(sgimgui_desc_t){0});
sgimgui_shutdown();
}
|