mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Revert r2141 functionality because it was a stupid-ass hack and breaks E3L5.
The texture warping mode will need to be set depending on whether we're actually drawing a parallaxed sky or not. git-svn-id: https://svn.eduke32.com/eduke32@2142 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
2a73b7fc9b
commit
59881f50e0
1 changed files with 5 additions and 1 deletions
|
@ -1123,11 +1123,15 @@ void uploadtexture(int32_t doalloc, int32_t xsiz, int32_t ysiz, int32_t intexfmt
|
|||
}
|
||||
|
||||
|
||||
#if 0
|
||||
// TODO: make configurable
|
||||
static int32_t tile_is_sky(int32_t tilenum)
|
||||
{
|
||||
return (tilenum >= 78 /*CLOUDYOCEAN*/ && tilenum <= 99 /*REDSKY2*/);
|
||||
return return (tilenum >= 78 /*CLOUDYOCEAN*/ && tilenum <= 99 /*REDSKY2*/);
|
||||
}
|
||||
#else
|
||||
# define tile_is_sky(x) (0)
|
||||
#endif
|
||||
|
||||
static int32_t gloadtile_art(int32_t dapic, int32_t dapal, int32_t dameth, pthtyp *pth, int32_t doalloc)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue