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

Function VulkanResizeWindow

engine/graphics/src/vulkan/graphics_native.cpp:190–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188 }
189
190 void VulkanResizeWindow(HContext _context, uint32_t width, uint32_t height)
191 {
192 VulkanContext* context = (VulkanContext*) _context;
193 if (dmPlatform::GetWindowStateParam(context->m_BaseContext.m_Window, WINDOW_STATE_OPENED))
194 {
195 VulkanSetWindowSize(_context, width, height);
196 }
197 }
198}

Callers

nothing calls this directly

Calls 2

VulkanSetWindowSizeFunction · 0.85
GetWindowStateParamFunction · 0.50

Tested by

no test coverage detected