From 818fb2e901818cb1151fedf5819ba9203fc34e07 Mon Sep 17 00:00:00 2001 From: Alexandr Arutjunov Date: Thu, 29 Sep 2016 17:11:53 +0300 Subject: [PATCH] [F] Typo: invalid format hint index. --- code/AMFImporter_Postprocess.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/AMFImporter_Postprocess.cpp b/code/AMFImporter_Postprocess.cpp index 0a47aee5a..b1875e638 100644 --- a/code/AMFImporter_Postprocess.cpp +++ b/code/AMFImporter_Postprocess.cpp @@ -208,9 +208,9 @@ std::string TextureConverted_ID; // Create format hint. strcpy(converted_texture.FormatHint, "rgba0000");// copy initial string. if(!pID_R.empty()) converted_texture.FormatHint[4] = '8'; - if(!pID_G.empty()) converted_texture.FormatHint[4] = '8'; - if(!pID_B.empty()) converted_texture.FormatHint[4] = '8'; - if(!pID_A.empty()) converted_texture.FormatHint[4] = '8'; + if(!pID_G.empty()) converted_texture.FormatHint[5] = '8'; + if(!pID_B.empty()) converted_texture.FormatHint[6] = '8'; + if(!pID_A.empty()) converted_texture.FormatHint[7] = '8'; // // Сopy data of textures.