Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
windows/direct2d: fix ID2D1RenderTarget::GetPixelFormat() and ID2D1Re…
…nderTarget::GetSize() typedefs in MinGW-w64 ABI workaround MinGW-w64 recently added manual workarounds directly into the class via overloads that make existing Direct2D code source-compatible. However, that exposed an error in my definition of the typedefs I was using in my own workaround: both of these methods are const, even in MSVC, but I neglected to include the const qualifier. I'm not sure how this code compiled in the past, but now the overload resolution engine finds no match. I want to remain compatible with versions of MinGW-w64 old enough to not have their fix, so our fix remains. Fixes #446.
- Loading branch information