Searched refs:surface_descr (Results 1 – 1 of 1) sorted by relevance
1273 DDSURFACEDESC2 surface_descr; in fill_display_information_fallback() local1318 surface_descr.dwSize = sizeof(surface_descr); in fill_display_information_fallback()1319 hr = IDirectDraw7_GetDisplayMode(pDirectDraw, &surface_descr); in fill_display_information_fallback()1322 if (surface_descr.dwFlags & DDSD_WIDTH) in fill_display_information_fallback()1324 hr = add_ui4_property(display_adapter, dwWidth, surface_descr.dwWidth); in fill_display_information_fallback()1329 if (surface_descr.dwFlags & DDSD_HEIGHT) in fill_display_information_fallback()1331 hr = add_ui4_property(display_adapter, dwHeight, surface_descr.dwHeight); in fill_display_information_fallback()1336 if (surface_descr.dwFlags & DDSD_PIXELFORMAT) in fill_display_information_fallback()1338 … hr = add_ui4_property(display_adapter, dwBpp, surface_descr.u4.ddpfPixelFormat.u1.dwRGBBitCount); in fill_display_information_fallback()