Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
tresabhi authored Jan 24, 2025
1 parent 438b565 commit c089540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/scripts/src/core/blitz/readTexture/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { TextureMutation } from './constants';

export async function readTexture(path: string, mutation?: TextureMutation) {
const ddsTexturePath = path.replace('.tex', '.dx11.dds');
const isDds = existsSync(ddsTexturePath);
const isDds = existsSync(`${ddsTexturePath}.dvpl`);
const resolvedTexturePath = isDds
? ddsTexturePath
: ddsTexturePath.replace('.dds', '.pvr');
Expand Down

0 comments on commit c089540

Please sign in to comment.