mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-13 07:57:58 +00:00
- fixed compile errors pointed out by CI
This commit is contained in:
parent
88d5bf6877
commit
8dbc727178
2 changed files with 5 additions and 4 deletions
|
@ -98,7 +98,8 @@ class FGameTexture
|
||||||
int shaderindex = 0;
|
int shaderindex = 0;
|
||||||
|
|
||||||
int flags = 0;
|
int flags = 0;
|
||||||
uint8_t warped = 0, expandSprite = -1;
|
uint8_t warped = 0;
|
||||||
|
int8_t expandSprite = -1;
|
||||||
uint16_t GlowHeight;
|
uint16_t GlowHeight;
|
||||||
PalEntry GlowColor = 0;
|
PalEntry GlowColor = 0;
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,7 @@ namespace swrenderer
|
||||||
{
|
{
|
||||||
static FSoftwareTexture *GetSWTex(FTextureID texid, bool allownull = true)
|
static FSoftwareTexture *GetSWTex(FTextureID texid, bool allownull = true)
|
||||||
{
|
{
|
||||||
return GetPalettedSWTexture(texid, true, nullptr, true);
|
return GetPalettedSWTexture(texid, true, false, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
RenderSkyPlane::RenderSkyPlane(RenderThread *thread)
|
RenderSkyPlane::RenderSkyPlane(RenderThread *thread)
|
||||||
|
@ -71,8 +71,8 @@ namespace swrenderer
|
||||||
Thread = thread;
|
Thread = thread;
|
||||||
auto Level = Thread->Viewport->Level();
|
auto Level = Thread->Viewport->Level();
|
||||||
|
|
||||||
auto sskytex1 = GetPalettedSWTexture(Level->skytexture1, true, nullptr, true);
|
auto sskytex1 = GetPalettedSWTexture(Level->skytexture1, true, false, true);
|
||||||
auto sskytex2 = GetPalettedSWTexture(Level->skytexture2, true, nullptr, true);
|
auto sskytex2 = GetPalettedSWTexture(Level->skytexture2, true, false, true);
|
||||||
|
|
||||||
if (sskytex1 == nullptr)
|
if (sskytex1 == nullptr)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue