MCPcopy Create free account
hub / github.com/defold/defold / WindowCreateParamsInitialize

Function WindowCreateParamsInitialize

engine/platform/src/window.cpp:21–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19extern "C"
20{
21 void WindowCreateParamsInitialize(WindowCreateParams* params)
22 {
23 if (!params)
24 {
25 return;
26 }
27
28 memset(params, 0, sizeof(*params));
29 params->m_Width = 640;
30 params->m_Height = 480;
31 params->m_Samples = 1;
32 params->m_Title = "Defold Application";
33 }
34
35 HWindow WindowNew(void)
36 {

Callers 15

mainFunction · 0.85
SetUpMethod · 0.85
engine.cppFile · 0.85
EngineCreateFunction · 0.85
SetUpMethod · 0.85
SetUpMethod · 0.85
SetUpMethod · 0.85
SetUpMethod · 0.85
EngineCreateFunction · 0.85
SetUpMethod · 0.85
TEST_FFunction · 0.85
SetUpMethod · 0.85

Calls

no outgoing calls

Tested by 15

SetUpMethod · 0.68
EngineCreateFunction · 0.68
SetUpMethod · 0.68
SetUpMethod · 0.68
SetUpMethod · 0.68
SetUpMethod · 0.68
EngineCreateFunction · 0.68
SetUpMethod · 0.68
TEST_FFunction · 0.68
SetUpMethod · 0.68
TEST_FFunction · 0.68
SetUpMethod · 0.68