- fixed texture name handling in GL related texture classes for recent changes in ZDoom to eliminate the 8 character name limit.

This commit is contained in:
Christoph Oelckers 2014-06-01 00:04:28 +02:00
commit d925279bef
2 changed files with 6 additions and 6 deletions

View file

@ -603,7 +603,7 @@ bool FTexture::ProcessData(unsigned char * buffer, int w, int h, bool ispatch)
FBrightmapTexture::FBrightmapTexture (FTexture *source)
{
memset(Name, 0, sizeof(Name));
Name = "";
SourcePic = source;
CopySize(source);
bNoDecals = source->bNoDecals;
@ -650,7 +650,7 @@ int FBrightmapTexture::CopyTrueColorPixels(FBitmap *bmp, int x, int y, int rotat
FCloneTexture::FCloneTexture (FTexture *source, int usetype)
{
memset(Name, 0, sizeof(Name));
Name = "";
SourcePic = source;
CopySize(source);
bNoDecals = source->bNoDecals;