fix: preserve D3D texture addressing in native UI sampling

This commit is contained in:
shen
2026-10-18 03:49:11 -07:00
parent fe6e41dc8e
commit b61140b8f4
13 changed files with 94 additions and 9 deletions
+2
View File
@@ -24,6 +24,8 @@ struct UIRenderCommand {
std::string mask;
float mu[4] = {}, mv[4] = {};
bool behind_3d = false;
// D3D8 texture stage 0 addressing. Direct platform commands retain their clamp default.
std::uint32_t address_u = 3, address_v = 3;
};
// D3DXCOLOR (0..1 floats) -> the 0xAARRGGBB the commands carry.