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

Function SetDefaultResolution

engine/gui/src/gui.cpp:506–510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

504 }
505
506 void SetDefaultResolution(HContext context, uint32_t width, uint32_t height)
507 {
508 context->m_DefaultProjectWidth = width;
509 context->m_DefaultProjectHeight = height;
510 }
511
512 void* GetDisplayProfiles(HScene scene)
513 {

Callers 2

OnWindowResizeCallbackFunction · 0.50
TEST_FFunction · 0.50

Calls

no outgoing calls

Tested by 2

OnWindowResizeCallbackFunction · 0.40
TEST_FFunction · 0.40