mirror of
https://github.com/glest/glest-source.git
synced 2025-08-29 19:00:07 +02:00
Renderer::renderResourceStatus() fix, to always draw resource status icons 'lit'
This commit is contained in:
@@ -712,6 +712,8 @@ void Renderer::renderResourceStatus(){
|
|||||||
string str= intToStr(r->getAmount());
|
string str= intToStr(r->getAmount());
|
||||||
|
|
||||||
glEnable(GL_TEXTURE_2D);
|
glEnable(GL_TEXTURE_2D);
|
||||||
|
glColor3f(1.f, 1.f, 1.f);
|
||||||
|
|
||||||
renderQuad(j*100+200, metrics.getVirtualH()-30, 16, 16, rt->getImage());
|
renderQuad(j*100+200, metrics.getVirtualH()-30, 16, 16, rt->getImage());
|
||||||
|
|
||||||
if(rt->getClass() != rcStatic)
|
if(rt->getClass() != rcStatic)
|
||||||
|
Reference in New Issue
Block a user