March 19, 2026
8:14 a.m.
Visual Studio 2026 doesn't seem to like .ddpfPixelFormat.xxx initializers when initializing an outer structure. Some of the DDPF fields contained zero even though a different value was assigned during initialzation, in particular .ddpfPixelFormat.dwZBufferBitDepth. No compile error or warning is generated though. https://en.cppreference.com/w/cpp/language/aggregate_initialization.html suggests that the previous construct should be valid in C, but not C++. I guess that's where MSVC's bug comes from. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10372