mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Polymost: Fix shading on ART tiles with fullbrights displayed without masking, such as on a whitewall.
git-svn-id: https://svn.eduke32.com/eduke32@5694 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
38553fc0e3
commit
1254ce06d9
1 changed files with 1 additions and 1 deletions
|
@ -1202,7 +1202,7 @@ void gloadtile_art(int32_t dapic, int32_t dapal, int32_t tintpalnum, int32_t das
|
||||||
pth->ofb = (pthtyp *)Xcalloc(1,sizeof(pthtyp));
|
pth->ofb = (pthtyp *)Xcalloc(1,sizeof(pthtyp));
|
||||||
pth->flags |= PTH_HASFULLBRIGHT;
|
pth->flags |= PTH_HASFULLBRIGHT;
|
||||||
|
|
||||||
gloadtile_art(dapic, dapal, -1, 0, dameth, pth->ofb, 1);
|
gloadtile_art(dapic, dapal, -1, 0, (dameth & DAMETH_MASKPROPS) == DAMETH_NOMASK ? dameth | DAMETH_MASK : dameth, pth->ofb, 1);
|
||||||
|
|
||||||
fullbrightloadingpass = 0;
|
fullbrightloadingpass = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue