c++ - Qt renderText() functions bug - text crashes -



c++ - Qt renderText() functions bug - text crashes -

i utilize qglwidget draw graphics in qt, , need render text within widget.

the problem after time, turns from:

to this:

and code looks this:

glpushmatrix(); qglcolor(qt::white); rendertext(-29, 11.0, -8, "tablica wyników", qfont("arial", 12, qfont::light)); ... glpopmatrix();

what's wrong code/function?

c++ qt qglwidget

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -