mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 01:30:30 +01:00
wgl: Fix flag check for GDI compat
Fixes: c432fbe5 ("wgl: Add no-gdi-single-buffered and gdi-double-buffered PFDs")
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Jose Fonseca <jose.fonseca@broadcom.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29819>
This commit is contained in:
parent
a02b759f41
commit
df49d9da10
1 changed files with 1 additions and 1 deletions
|
|
@ -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++;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue