diff options
| author | Andre Weissflog <floooh@gmail.com> | 2020-06-14 17:47:32 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2020-06-14 17:47:32 +0200 |
| commit | 2583dffc7a35cc4cbe8e582bcc52bf2f92e2ecd5 (patch) | |
| tree | dfc04bf520779895edc8ff925c5f5721db7a18e0 /util/sokol_debugtext.h | |
| parent | 40238bdd1a03269358836d1ca6920e987443e29c (diff) | |
fixes for MSVC warning level 4
Diffstat (limited to 'util/sokol_debugtext.h')
| -rw-r--r-- | util/sokol_debugtext.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/sokol_debugtext.h b/util/sokol_debugtext.h index 0073ba30..01e8f367 100644 --- a/util/sokol_debugtext.h +++ b/util/sokol_debugtext.h @@ -3531,7 +3531,8 @@ static _sdtx_context_t* _sdtx_lookup_context(uint32_t ctx_id) { /* make context handle from raw uint32_t id */ static sdtx_context _sdtx_make_ctx_id(uint32_t ctx_id) { - sdtx_context ctx = { ctx_id }; + sdtx_context ctx; + ctx.id = ctx_id; return ctx; } |