Module: Mesa Branch: main Commit: 8c88cc8630f3ba161fd9568102b03ec7786231f9 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c88cc8630f3ba161fd9568102b03ec7786231f9
Author: Jesse Natalie <jenat...@microsoft.com> Date: Mon Dec 18 10:44:50 2023 -0800 libgl-gdi: Update wgl test to use a 32bit framebuffer Otherwise, the d3d12 driver doesn't use a DXGI swapchain Reviewed-by: Sil Vilerino <sivil...@microsoft.com> Reviewed-by: Yonggang Luo <luoyongg...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26744> --- src/gallium/targets/libgl-gdi/tests/wgl_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/targets/libgl-gdi/tests/wgl_tests.cpp b/src/gallium/targets/libgl-gdi/tests/wgl_tests.cpp index 514507d13f4..93290e50f7e 100644 --- a/src/gallium/targets/libgl-gdi/tests/wgl_tests.cpp +++ b/src/gallium/targets/libgl-gdi/tests/wgl_tests.cpp @@ -78,7 +78,7 @@ window::window(uint32_t width, uint32_t height) PFD_DRAW_TO_WINDOW | PFD_DOUBLEBUFFER, /* support double-buffering */ PFD_TYPE_RGBA, /* color type */ - 8, /* prefered color depth */ + 32, /* prefered color depth */ 0, 0, 0, 0, 0, 0, /* color bits (ignored) */ 0, /* no alpha buffer */ 0, /* alpha bits (ignored) */