summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
commit69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch)
tree7b133311a4d5e5394f2612dced305f815c04847b /src/opengl
parente07baa10b7b8e7105e02a621efadac67216c61ed (diff)
downloadtqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz
tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/qgl.cpp2
-rw-r--r--src/opengl/qgl_x11.cpp4
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;