From 2d3dad5a9b370fc4ab2df483b03b04de350cff7f Mon Sep 17 00:00:00 2001 From: James McCulloch Date: Thu, 25 Mar 2010 04:47:04 +0000 Subject: [PATCH] Renderer::renderResourceStatus() fix, to always draw resource status icons 'lit' --- source/glest_game/graphics/renderer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/glest_game/graphics/renderer.cpp b/source/glest_game/graphics/renderer.cpp index 1d25a0c8e..891b38e63 100644 --- a/source/glest_game/graphics/renderer.cpp +++ b/source/glest_game/graphics/renderer.cpp @@ -712,6 +712,8 @@ void Renderer::renderResourceStatus(){ string str= intToStr(r->getAmount()); glEnable(GL_TEXTURE_2D); + glColor3f(1.f, 1.f, 1.f); + renderQuad(j*100+200, metrics.getVirtualH()-30, 16, 16, rt->getImage()); if(rt->getClass() != rcStatic)