diff options
| author | xolatile | 2025-08-17 18:28:28 +0200 |
|---|---|---|
| committer | xolatile | 2025-08-17 18:28:28 +0200 |
| commit | bffe8d11bd1dfec49280fb64a17f0ae529ac3f5d (patch) | |
| tree | 9f4f7b6f5003585e5a170bd55ccaa335b8f26f90 /src/engine/material.cpp | |
| parent | bec4167d29a68efd0cd2da36143e7f1c78a119a0 (diff) | |
| download | xolatile-badassbug-bffe8d11bd1dfec49280fb64a17f0ae529ac3f5d.tar.xz xolatile-badassbug-bffe8d11bd1dfec49280fb64a17f0ae529ac3f5d.tar.zst | |
Diffstat (limited to 'src/engine/material.cpp')
| -rw-r--r-- | src/engine/material.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/engine/material.cpp b/src/engine/material.cpp index 55151a1..222d93b 100644 --- a/src/engine/material.cpp +++ b/src/engine/material.cpp @@ -251,16 +251,12 @@ int optimizematsurfs(materialsurface *matbuf, int matsurfs) { } void setupmaterials(int start, int len) { - int hasmat = 0; - unionfind uf; if(!len) len = valist.length(); for(int i = start; i < len; i++) { vtxarray *va = valist[i]; materialsurface *skip = NULL; loopj(va->matsurfs) { materialsurface &m = va->matbuf[j]; - int matvol = 0; - if(matvol) hasmat |= 1<<m.material; m.skip = 0; if(skip && m.material == skip->material && m.orient == skip->orient && skip->skip < 0xFFFF) skip->skip++; |
