Searched refs:sdlMode (Results 1 – 1 of 1) sorted by relevance
202 WINRT_DXGIModeToSDLDisplayMode(const DXGI_MODE_DESC * dxgiMode, SDL_DisplayMode * sdlMode) in WINRT_DXGIModeToSDLDisplayMode() argument204 SDL_zerop(sdlMode); in WINRT_DXGIModeToSDLDisplayMode()205 sdlMode->w = dxgiMode->Width; in WINRT_DXGIModeToSDLDisplayMode()206 sdlMode->h = dxgiMode->Height; in WINRT_DXGIModeToSDLDisplayMode()207 sdlMode->refresh_rate = dxgiMode->RefreshRate.Numerator / dxgiMode->RefreshRate.Denominator; in WINRT_DXGIModeToSDLDisplayMode()208 sdlMode->format = D3D11_DXGIFormatToSDLPixelFormat(dxgiMode->Format); in WINRT_DXGIModeToSDLDisplayMode()297 SDL_DisplayMode sdlMode; in WINRT_AddDisplaysForOutput() local298 WINRT_DXGIModeToSDLDisplayMode(&dxgiModes[i], &sdlMode); in WINRT_AddDisplaysForOutput()299 SDL_AddDisplayMode(&display, &sdlMode); in WINRT_AddDisplaysForOutput()