Merge branch 'mr/opengl32-tlopo' into 'master'

opengl32: Add WGL_DOUBLE_BUFFER_ARB to the explicit sort list.

See merge request wine/wine!6513
This commit is contained in:
Aida Jonikienė 2024-11-18 22:51:22 +00:00
commit 127aac69f4

View file

@ -754,6 +754,7 @@ BOOL WINAPI wglChoosePixelFormatARB( HDC hdc, const int *attribs_int, const FLOA
ctx.attribs[2 * i + 1] );
/* Some attributes we always want to sort by (values don't matter for sorting) */
compare_formats_ctx_set_attrib( &ctx, WGL_DOUBLE_BUFFER_ARB, 0 );
compare_formats_ctx_set_attrib( &ctx, WGL_ACCELERATION_ARB, 0 );
compare_formats_ctx_set_attrib( &ctx, WGL_COLOR_BITS_ARB, 0 );
compare_formats_ctx_set_attrib( &ctx, WGL_ACCUM_BITS_ARB, 0 );