[F] Typo: invalid format hint index.

pull/1011/head
Alexandr Arutjunov 2016-09-29 17:11:53 +03:00
parent 0a25b076b8
commit 818fb2e901
1 changed files with 3 additions and 3 deletions

View File

@ -208,9 +208,9 @@ std::string TextureConverted_ID;
// Create format hint. // Create format hint.
strcpy(converted_texture.FormatHint, "rgba0000");// copy initial string. strcpy(converted_texture.FormatHint, "rgba0000");// copy initial string.
if(!pID_R.empty()) converted_texture.FormatHint[4] = '8'; if(!pID_R.empty()) converted_texture.FormatHint[4] = '8';
if(!pID_G.empty()) converted_texture.FormatHint[4] = '8'; if(!pID_G.empty()) converted_texture.FormatHint[5] = '8';
if(!pID_B.empty()) converted_texture.FormatHint[4] = '8'; if(!pID_B.empty()) converted_texture.FormatHint[6] = '8';
if(!pID_A.empty()) converted_texture.FormatHint[4] = '8'; if(!pID_A.empty()) converted_texture.FormatHint[7] = '8';
// //
// Сopy data of textures. // Сopy data of textures.