From affde05dc07a94643f1fd2751b2b441f57f73d7d Mon Sep 17 00:00:00 2001 From: xolatile Date: Tue, 5 Aug 2025 17:04:48 +0200 Subject: Minor cleanups, just compiles... --- src/engine/material.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/engine/material.cpp') diff --git a/src/engine/material.cpp b/src/engine/material.cpp index b8a3f7f..e29ccf5 100644 --- a/src/engine/material.cpp +++ b/src/engine/material.cpp @@ -59,8 +59,6 @@ struct QuadNode { } }; -static float wfwave; - static const bvec4 matnormals[6] = { bvec4(0x80, 0, 0), bvec4(0x7F, 0, 0), @@ -366,7 +364,6 @@ void sortmaterials(vector &vismats) materialsurface &m = va->matbuf[i]; if(!editmode || !showmat || drawtex) { - int matvol = 0; if(m.visible == MATSURF_EDIT_ONLY) { i += m.skip; continue; } } vismats.add(&m); @@ -413,7 +410,6 @@ void rendermaterials() glDisable(GL_CULL_FACE); - MSlot *mslot = NULL; int lastorient = -1, lastmat = -1; bool depth = true, blended = false; -- cgit v1.2.3