mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
bugfix: use c99 adapter (#1415)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user