[PATCH 0/1] MR126: Draft: ddraw: Limit max texture size to fit a 16bit signed integer

Stefan Dösinger (@stefan) wine at gitlab.winehq.org
Thu May 26 05:03:52 CDT 2022


Yeah, we'll probably end up going this way, but I'd like to do some due diligence here. ddraw caps are an incredibly fragile thing, with applications making stupid assumptions.

There are some GL games that query GPU capabilities via ddraw. I came across at least one ancient game that broke if certain properties mismatched between ddraw and d3d8. (Though I think in both cases games were more interested in PCI IDs and video memory size than minutiae texture stuff)

I'll see if one of my Windows boxes supports large enough textures to check how Windows handles the situation. It's possible that the game is just broken on Windows, or held together by some compatibility shim.

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/126#note_1235



More information about the wine-devel mailing list