bugfix: use c99 adapter (#1415)

This commit is contained in:
云风
2018-06-20 23:14:30 +08:00
committed by Branimir Karadžić
parent c130cc8981
commit 2efe4e1794

View File

@@ -4835,7 +4835,7 @@ BGFX_C_API bool bgfx_init(const bgfx_init_t* _init)
}
union { const bgfx_init_t* c; const bgfx::Init* cpp; } in;
in.c = _init;
in.c = &init;
return bgfx::init(*in.cpp);
}