| 1569 | } |
| 1570 | |
| 1571 | static void WebGPUResizeWindow(HContext _context, uint32_t width, uint32_t height) |
| 1572 | { |
| 1573 | TRACE_CALL; |
| 1574 | assert(_context); |
| 1575 | WebGPUContext* context = (WebGPUContext*)_context; |
| 1576 | if (dmPlatform::GetWindowStateParam(context->m_BaseContext.m_Window, WINDOW_STATE_OPENED)) |
| 1577 | { |
| 1578 | dmPlatform::SetWindowSize(context->m_BaseContext.m_Window, width, height); |
| 1579 | WebGPUConfigure(context, width, height); |
| 1580 | } |
| 1581 | } |
| 1582 | |
| 1583 | static void WebGPUGetDefaultTextureFilters(HContext _context, TextureFilter& out_min_filter, TextureFilter& out_mag_filter) |
| 1584 | { |
nothing calls this directly
no test coverage detected