MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / init

Method init

Source/Basic/Application.cpp:566–575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

564} // namespace
565
566bool BGFXDora::init(const bgfx::PlatformData& data) {
567 bgfx::Init init{};
568#if BX_PLATFORM_LINUX
569 if (data.context) {
570 init.type = bgfx::RendererType::OpenGLES;
571 }
572#endif // BX_PLATFORM_LINUX
573 bx::memCopy(&init.platformData, &data, sizeof(bgfx::PlatformData));
574 return bgfx::init(init);
575}
576
577BGFXDora::~BGFXDora() {
578 bgfx::shutdown();

Callers 3

runMethod · 0.45
mainLogicMethod · 0.45
WinMainFunction · 0.45

Calls 2

memCopyFunction · 0.85
initFunction · 0.70

Tested by

no test coverage detected