On 15 December 2016 at 13:45, Józef Kucia jkucia@codeweavers.com wrote:
It's enough to enable this workaround for ddraw.
So would it then also be enough to just fixup things in ddraw7_GetAvailableVidMem()? In fact, the documentation suggests that's actually the proper place, and that this shouldn't be specific to the Windows version. You could probably use wined3d_get_adapter_display_mode() together with wined3d_calculate_format_pitch() to calculate the primary surface size.