diff options
Diffstat (limited to 'src/opengl')
-rw-r--r-- | src/opengl/qgl.cpp | 2 | ||||
-rw-r--r-- | src/opengl/qgl_x11.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp index d8f8914c4..0732bca0a 100644 --- a/src/opengl/qgl.cpp +++ b/src/opengl/qgl.cpp @@ -2144,7 +2144,7 @@ int TQGLWidget::displayListBase( const TQFont & fnt, int listBase ) // contexts can't handle this otherwise bool regenerate = glcx->deviceIsPixmap(); -#if 0 // QT_NO_XFTFREETYPE +#if 0 // TQT_NO_XFTFREETYPE // font color needs to be part of the font cache key when using // antialiased fonts since one set of glyphs needs to be generated // for each font color diff --git a/src/opengl/qgl_x11.cpp b/src/opengl/qgl_x11.cpp index a0e07187f..6a74127d9 100644 --- a/src/opengl/qgl_x11.cpp +++ b/src/opengl/qgl_x11.cpp @@ -835,7 +835,7 @@ uint TQGLContext::colorIndex( const TQColor& c ) const return 0; } -#ifndef QT_NO_XFTFREETYPE +#ifndef TQT_NO_XFTFREETYPE /*! \internal This is basically a substitute for glxUseXFont() which can only handle XLFD fonts. This version relies on XFT v2 to render the @@ -953,7 +953,7 @@ void TQGLContext::generateFontDisplayLists( const TQFont & fnt, int listBase ) TQFont f(fnt); TQFontEngine *engine = f.d->engineForScript(TQFont::Latin); -#ifndef QT_NO_XFTFREETYPE +#ifndef TQT_NO_XFTFREETYPE if(engine->type() == TQFontEngine::Xft) { qgl_use_font((TQFontEngineXft *) engine, 0, 256, listBase); return; |