We need to use the ODBC v1 function SQLColAttributesW, to ensure that we
use the lowest verion available. This ODBC function internally will call
SQLColAttribute or SQLColAttributesW depending on what the driver supports.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2223
Fixes Gungrave G.o.r.e media playback and hang on start.
I tested separately that setting an obviously invalid AudioSpecificConfig fails on Windows as well. On Windows stream attributes incompatible with AudioSpecificConfig (e. g., sample rate) also fails. We currently don't have such checks (and that will require fully parsing AudioSpecificConfig on our side), but since we don't have to choose between the parameters and only validate them I hope missing validation is not critical until we have something depending on that.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2189
Convert all consecutive calls to d7_DrawPrimitive(TRIANGLE_FAN) into
a single call to d7_DrawPrimitive(TRIANGLE_LIST) with all the vertices.
Note, it *increase* the number of vertices, but bandwith is much less costly
than multiple calls.
Note, only a very precise subset of the calls get buffered in order to
ensure that the disruption is minimal.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=33814
--
v14: ddraw: Convert buffer API to use d3d_device struct
https://gitlab.winehq.org/wine/wine/-/merge_requests/2105