Fixed wrong texture format used in HL1 MDL loader.

pull/2943/head
Marc-Antoine Lortie 2020-01-22 10:02:38 -05:00
parent a8698f7e76
commit 3e8a33aae3
1 changed files with 2 additions and 2 deletions

View File

@ -346,9 +346,9 @@ void HL1MDLLoader::read_texture(const Texture_HL1 *ptexture,
pResult->mFilename = ptexture->name;
pResult->mWidth = outwidth;
pResult->mHeight = outheight;
pResult->achFormatHint[0] = 'b';
pResult->achFormatHint[0] = 'r';
pResult->achFormatHint[1] = 'g';
pResult->achFormatHint[2] = 'r';
pResult->achFormatHint[2] = 'b';
pResult->achFormatHint[3] = 'a';
pResult->achFormatHint[4] = '8';
pResult->achFormatHint[5] = '8';