MCPcopy Create free account
hub / github.com/XorTroll/uLaunch / Initialize

Function Initialize

projects/uDesigner/source/main.cpp:2774–2784  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2772 }
2773
2774 int Initialize() {
2775 srand(time(nullptr));
2776
2777 g_Width = GetCanvasWidth();
2778 g_Height = GetCanvasHeight();
2779
2780 _RES_TRY(InitializeGlfw());
2781 _RES_TRY(InitializeImGui());
2782
2783 return 0;
2784 }
2785
2786 void Finalize() {
2787 glfwTerminate();

Callers 1

mainFunction · 0.70

Calls 4

GetCanvasWidthFunction · 0.85
GetCanvasHeightFunction · 0.85
InitializeGlfwFunction · 0.85
InitializeImGuiFunction · 0.85

Tested by

no test coverage detected