mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 23:32:02 +00:00
- 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:
parent
3c5d07e9c6
commit
d925279bef
2 changed files with 6 additions and 6 deletions
|
@ -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("}"))
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue