- 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

@ -150,8 +150,8 @@ void gl_ParseSkybox(FScanner &sc)
sc.MustGetString();
FSkyBox * sb = new FSkyBox;
uppercopy(sb->Name, sc.String);
sb->Name[8]=0;
sb->Name = sc.String;
sb->Name.ToUpper();
if (sc.CheckString("fliptop"))
{
sb->fliptop = true;
@ -192,8 +192,8 @@ void gl_ParseVavoomSkybox()
int facecount=0;
int maplump = -1;
FSkyBox * sb = new FSkyBox;
uppercopy(sb->Name, sc.String);
sb->Name[8]=0;
sb->Name = sc.String;
sb->Name.ToUpper();
sb->fliptop = true;
sc.MustGetStringName("{");
while (!sc.CheckString("}"))