summaryrefslogtreecommitdiff
path: root/src/engine/material.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/material.cpp')
-rw-r--r--src/engine/material.cpp4
1 files changed, 0 insertions, 4 deletions
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<materialsurface *> &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;