On Wed Nov 23 21:28:16 2022 +0000, Rémi Bernon wrote:
The while feels a bit off. It would be better to just call MFMapDXGIFormatToDX9Format again or hardcode the Data1 to the corresponding format.
I hope a second call to the function is also okay. I'd prefer to do that as it's probably more easy to follow, than some D3D9 fmt being assigned.