1
0
Fork 0

set blend mode back to make 2D panels opaque when used with transparent HUDs

This commit is contained in:
mfranz 2006-06-17 19:09:38 +00:00
parent 2360487b19
commit ef2bc6227a

View file

@ -547,6 +547,9 @@ void drawHUD()
//glLineWidth(1.0);
}
if (HUDprop->isTransparent())
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_DEPTH_TEST);
glEnable(GL_LIGHTING);
}