BGE: Fix for [#33163] "Text Font Bug" reported and fixed by HG1.

The embedded player was calling glPolygonMode(GL_FRONT_AND_BACK, GL_FILL) before rendering font objects, but someone forgot to add this to the Blenderplayer.
This commit is contained in:
2013-06-20 22:37:55 +00:00
parent b2e01fa6bb
commit d3fc2bd95b

View File

@@ -363,6 +363,8 @@ void GPC_RenderTools::RenderText3D( int fontid,
double* mat,
float aspect)
{
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); /* needed for texture fonts otherwise they render as wireframe */
if (GLEW_ARB_multitexture) {
for (int i=0; i<MAXTEX; i++) {
glActiveTextureARB(GL_TEXTURE0_ARB+i);