From d1d8ee07a1f821c436dc1ce4ff68cc5427952004 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 3 Nov 2019 11:00:56 +0100 Subject: [PATCH] fixed texture overlay --- textures.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/textures.cpp b/textures.cpp index c7a15c3d..bb0202fd 100644 --- a/textures.cpp +++ b/textures.cpp @@ -652,7 +652,10 @@ bool newmove = false; vector rtver(4); void texture_config::drawRawTexture() { - glhr::be_textured(); + glflush(); + current_display->next_shader_flags = GF_TEXTURE; + dynamicval m(pmodel, mdPixel); + current_display->set_all(0); glhr::color2(0xFFFFFF20); glBindTexture(GL_TEXTURE_2D, config.data.textureid); for(int i=0; i<4; i++) {