Skip to content

Commit

Permalink
Add workaround for corrupted Qt text.
Browse files Browse the repository at this point in the history
  • Loading branch information
Safety0ff committed Oct 30, 2010
1 parent aa15317 commit bffee9d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/framework/wzapp.cpp
Expand Up @@ -679,6 +679,9 @@ void WzMainWindow::close()
int wzInit(int argc, char *argv[], int fsaa, bool vsync, int w, int h, bool fullscreen)
{
char buf[256];
QGL::setPreferredPaintEngine(QPaintEngine::OpenGL); /* Workaround for incorrect text rendering on
* many platforms.
*/
QApplication app(argc, argv);

// Setting up OpenGL
Expand Down

0 comments on commit bffee9d

Please sign in to comment.