aboutsummaryrefslogtreecommitdiff
path: root/tests/compile/sokol_imgui.c
blob: d1dc6c7a8762d72246991fc6f2f429cef6bdf3ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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
#if defined(SOKOL_DUMMY_BACKEND)
#define SOKOL_IMGUI_NO_SOKOL_APP
#endif
#include "sokol_imgui.h"

void use_imgui_impl(void) {
    simgui_setup(&(simgui_desc_t){0});
}