[Bug 33761] Touhou 10 and up have aliased dialogue text

WineHQ Bugzilla wine-bugs at winehq.org
Thu Sep 23 05:15:24 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=33761

--- Comment #23 from itoh shimon <shimon at postfixnotation.org> ---
(In reply to itoh shimon from comment #18)
> Created attachment 69222 [details]
> bug-fixing patch for this issue
> 
> I make a bug-fixing patch, but I don't think this patch will be accepted.
> See readme-triangle-filter-resize-patch.md for usage. More details will be
> written at a later date.

This bug occurs because D3DX_FILTER_TRIANGLE is not implemented in
D3DXLoadSurfaceFromMemory.

Touhou (10 (MoF) or later) depend heavily on D3DX[1]. Wine's D3DX has a lot of
FIXME. So, Touhou (10 (MoF) or later) on Wine have some bugs.

Microsoft deprecated D3DX and created the successors (such as DirectXMath and
DirectXTex)[2]. The successors are licensed under the MIT License.

The patch[3] is based on DirectXMath and DirectXTex[2]. The patch handles
D3DX_FILTER_TRIANGLE in D3DXLoadSurfaceFromMemory.

The patch needs to be rewritten in C (currently, the patch is written in C++),
but I'm busy...

---

[1] https://en.wikipedia.org/wiki/D3DX
[2] https://walbourn.github.io/living-without-d3dx/
https://github.com/microsoft/DirectXMath
https://github.com/microsoft/DirectXTex
[3] attachment 69223

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list