diff options
author | Andrey Nazarov <skuller@skuller.net> | 2013-03-16 19:26:58 +0400 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2013-03-20 22:04:53 +0400 |
commit | 48c4d307ec6c7a3fa75425ffd73bf9eef6bb61fb (patch) | |
tree | 80c9c8dd364b04e0bdae3ba92f649a48abe202d2 /src/refresh/sw/edge.c | |
parent | 5b90200a5fb8facbb431c789f37495ed7a6e9c10 (diff) |
Use TURB_SIZE constant where appropriate.
Also force resampling of all turbulent textures to 64x64.
Diffstat (limited to 'src/refresh/sw/edge.c')
-rw-r--r-- | src/refresh/sw/edge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/refresh/sw/edge.c b/src/refresh/sw/edge.c index da51a57..252311d 100644 --- a/src/refresh/sw/edge.c +++ b/src/refresh/sw/edge.c @@ -803,7 +803,7 @@ static void D_TurbulentSurf(surf_t *s) pface = s->msurf; miplevel = 0; cacheblock = pface->texinfo->image->pixels[0]; - cachewidth = 64 * TEX_BYTES; + cachewidth = TURB_SIZE * TEX_BYTES; if (s->insubmodel) { // FIXME: we don't want to do all this for every polygon! |