From 9234eeb1d2954a3dae6c84ffa8ed8643953272c5 Mon Sep 17 00:00:00 2001 From: xolatile Date: Tue, 5 Aug 2025 15:27:57 +0200 Subject: Experimental MD3 to OBJ to IQM converter and code removal, shit compiles... --- src/engine/3dgui.cpp | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'src/engine/3dgui.cpp') diff --git a/src/engine/3dgui.cpp b/src/engine/3dgui.cpp index 41a5d47..1e17e78 100644 --- a/src/engine/3dgui.cpp +++ b/src/engine/3dgui.cpp @@ -683,13 +683,12 @@ struct gui : g3d_gui Slot &slot = *vslot.slot; if(slot.sts.empty()) return; VSlot *layer = NULL; - Texture *t = NULL, *glowtex = NULL, *layertex = NULL; + Texture *t = NULL, *layertex = NULL; if(slot.loaded) { t = slot.sts[0].t; if(t == notexture) return; Slot &slot = *vslot.slot; - if(slot.texmask&(1<id); - if(hit || overlaid) gle::color(vec(vslot.glowcolor).mul(color)); - else gle::color(vslot.glowcolor); - gle::begin(GL_TRIANGLE_STRIP); - gle::attribf(x, y); gle::attrib(tc[0]); - gle::attribf(x+xs, y); gle::attrib(tc[1]); - gle::attribf(x, y+ys); gle::attrib(tc[3]); - gle::attribf(x+xs, y+ys); gle::attrib(tc[2]); - gle::end(); - glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); - } if(layertex) { glBindTexture(GL_TEXTURE_2D, layertex->id); -- cgit v1.2.3