diff --git a/src/gallium/frontends/wgl/stw_pixelformat.c b/src/gallium/frontends/wgl/stw_pixelformat.c index 343ea3f3303..d7db69a2837 100644 --- a/src/gallium/frontends/wgl/stw_pixelformat.c +++ b/src/gallium/frontends/wgl/stw_pixelformat.c @@ -298,7 +298,7 @@ add_color_format_variants(const struct stw_pf_color_info *color_formats, stw_pixelformat_add(stw_dev, extended, &color_formats[cfmt], depth, acc * 16, (flag & stw_pfd_double_buffer) != 0, - (flag == stw_pfd_gdi_support) != 0, samples); + (flag & stw_pfd_gdi_support) != 0, samples); num_added++; } }