Update HL1MDLLoader.cpp

Add missing const
pull/2928/head
Kim Kulling 2020-01-22 09:46:37 +01:00 committed by GitHub
parent da2b671679
commit 6a5ab0381d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ void HL1MDLLoader::read_texture(const Texture_HL1 *ptexture,
aiColor3D &last_palette_color) {
int outwidth, outheight;
int i, j;
static size_t BuffenLen = 256;
static const size_t BuffenLen = 256;
int row1[BuffenLen], row2[BuffenLen], col1[BuffenLen], col2[BuffenLen];
unsigned char *pix1, *pix2, *pix3, *pix4;