1
0
mirror of https://gitlab.com/pholy/OSCAR-code.git synced 2025-04-09 20:50:43 +00:00

Enable RenderText for Mac to solve text corruption problem

This commit is contained in:
Mark Watkins 2011-10-30 19:26:35 +10:00
parent 26c1690ba4
commit 900631b74b

View File

@ -4,6 +4,12 @@
#include "SleepLib/profiles.h"
#include <QTimer>
#include <QLabel>
#ifdef Q_WS_MAC
#define USE_RENDERTEXT
#endif
bool _graph_init=false;
QFont * defaultfont=NULL;
@ -1696,7 +1702,6 @@ void gGraphView::DrawTextQue()
{
glPushAttrib(GL_COLOR_BUFFER_BIT);
int w,h;
//#define USE_RENDERTEXT
QPainter painter;
#ifndef USE_RENDERTEXT
painter.begin(this);