- split out FGameTexture into its own files.

This commit is contained in:
Christoph Oelckers 2020-04-19 00:44:42 +02:00
commit cedc95c2a5
9 changed files with 898 additions and 807 deletions

View file

@ -1276,7 +1276,7 @@ class GLDefsParser
if (tex)
{
bool okay = false;
for (int i = 0; i < MAX_CUSTOM_HW_SHADER_TEXTURES; i++)
for (size_t i = 0; i < countof(mlay.CustomShaderTextures); i++)
{
if (!mlay.CustomShaderTextures[i])
{
@ -1287,7 +1287,7 @@ class GLDefsParser
}
texNameList.Push(textureName);
texNameIndex.Push(i);
texNameIndex.Push((int)i);
okay = true;
break;
}
@ -1571,7 +1571,7 @@ class GLDefsParser
}
sc.MustGetString();
bool okay = false;
for (int i = 0; i < MAX_CUSTOM_HW_SHADER_TEXTURES; i++)
for (size_t i = 0; i < countof(mlay.CustomShaderTextures); i++)
{
if (!mlay.CustomShaderTextures[i])
{
@ -1582,7 +1582,7 @@ class GLDefsParser
}
texNameList.Push(textureName);
texNameIndex.Push(i);
texNameIndex.Push((int)i);
okay = true;
break;
}