- Fixed compiler errors in latest TEXTURES code.

This commit is contained in:
Edoardo Prezioso 2014-05-25 01:12:16 +02:00
commit b285cbebe4
7 changed files with 17 additions and 17 deletions

View file

@ -448,7 +448,7 @@ void FJPEGTexture::MakeTexture ()
}
catch (int)
{
Printf (TEXTCOLOR_ORANGE " in texture %s\n", Name);
Printf (TEXTCOLOR_ORANGE " in texture %s\n", Name.GetChars());
jpeg_destroy_decompress(&cinfo);
}
if (buff != NULL)
@ -532,7 +532,7 @@ int FJPEGTexture::CopyTrueColorPixels(FBitmap *bmp, int x, int y, int rotate, FC
}
catch(int)
{
Printf (TEXTCOLOR_ORANGE " in JPEG texture %s\n", Name);
Printf (TEXTCOLOR_ORANGE " in JPEG texture %s\n", Name.GetChars());
}
jpeg_destroy_decompress(&cinfo);
if (buff != NULL) delete [] buff;