- fixed compile errors pointed out by CI

This commit is contained in:
Christoph Oelckers 2020-04-19 19:05:50 +02:00
parent 88d5bf6877
commit 8dbc727178
2 changed files with 5 additions and 4 deletions

View file

@ -98,7 +98,8 @@ class FGameTexture
int shaderindex = 0;
int flags = 0;
uint8_t warped = 0, expandSprite = -1;
uint8_t warped = 0;
int8_t expandSprite = -1;
uint16_t GlowHeight;
PalEntry GlowColor = 0;

View file

@ -63,7 +63,7 @@ namespace swrenderer
{
static FSoftwareTexture *GetSWTex(FTextureID texid, bool allownull = true)
{
return GetPalettedSWTexture(texid, true, nullptr, true);
return GetPalettedSWTexture(texid, true, false, true);
}
RenderSkyPlane::RenderSkyPlane(RenderThread *thread)
@ -71,8 +71,8 @@ namespace swrenderer
Thread = thread;
auto Level = Thread->Viewport->Level();
auto sskytex1 = GetPalettedSWTexture(Level->skytexture1, true, nullptr, true);
auto sskytex2 = GetPalettedSWTexture(Level->skytexture2, true, nullptr, true);
auto sskytex1 = GetPalettedSWTexture(Level->skytexture1, true, false, true);
auto sskytex2 = GetPalettedSWTexture(Level->skytexture2, true, false, true);
if (sskytex1 == nullptr)
return;