Commit 88220e0e authored by Jan Sikorski's avatar Jan Sikorski Committed by Alexandre Julliard

winemac.drv: Include depth32+stencil pixel formats in enumeration.

This is especially important for M1 GPUs as they don't support the 24/8 format. Signed-off-by: 's avatarJan Sikorski <jsikorski@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 2e8bd268
......@@ -741,7 +741,8 @@ static void enum_renderer_pixel_formats(renderer_properties renderer, CFMutableA
if (!(renderer.stencil_modes & depth_stencil_modes[stencil_mode].mode))
continue;
if (accelerated && depth_stencil_modes[depth_mode].bits != 24 && stencil_mode > 0)
if (accelerated && depth_stencil_modes[depth_mode].bits != 24 &&
depth_stencil_modes[depth_mode].bits != 32 && stencil_mode > 0)
continue;
attribs[n++] = kCGLPFAStencilSize;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment