fix: use resolve

This commit is contained in:
TrèsAbhi committed 2025-12-15 22:26:14 -06:00
1 parent c27e903c31
commit 57dacddcfd
2 files changed
+2 -2

No files matched your search

@@ -3,7 +3,7 @@ import { vfs } from "../../../buildAssets/constants";
export async function readTexture(path: string) {
const ddsTexturePath = path.replace(".tex", ".dx11.dds");
const isDds = vfs.has(ddsTexturePath);
const isDds = vfs.resolve(ddsTexturePath);
const resolvedTexturePath = isDds
? ddsTexturePath
: ddsTexturePath.replace(".dds", ".pvr");