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

Function NullResizeWindow

engine/graphics/src/null/graphics_null.cpp:298–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296 }
297
298 static void NullResizeWindow(HContext _context, uint32_t width, uint32_t height)
299 {
300 assert(_context);
301 NullContext* context = (NullContext*) _context;
302 if (dmPlatform::GetWindowStateParam(context->m_BaseContext.m_Window, WINDOW_STATE_OPENED))
303 {
304 dmPlatform::SetWindowSize(context->m_BaseContext.m_Window, width, height);
305 }
306 }
307
308 static void NullGetDefaultTextureFilters(HContext _context, TextureFilter& out_min_filter, TextureFilter& out_mag_filter)
309 {

Callers

nothing calls this directly

Calls 3

assertFunction · 0.50
GetWindowStateParamFunction · 0.50
SetWindowSizeFunction · 0.50

Tested by

no test coverage detected