diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-10 13:17:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-12 11:39:54 +0900 |
commit | 1c9111b3795a3b87254cbac172dcc565c7f76a57 (patch) | |
tree | 4989457372b878ec193198dc9c0501baef7f930f /src/opengl | |
parent | c147c9001b60295bdd731f95d805460c8973621b (diff) | |
download | tqt3-1c9111b3795a3b87254cbac172dcc565c7f76a57.tar.gz tqt3-1c9111b3795a3b87254cbac172dcc565c7f76a57.zip |
Drop code for obsolete FreeType 1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ccd304b2a6415d8b747d04b3a47736d1e6f45717)
Diffstat (limited to 'src/opengl')
-rw-r--r-- | src/opengl/qgl_x11.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/opengl/qgl_x11.cpp b/src/opengl/qgl_x11.cpp index 51daa176b..724e999e4 100644 --- a/src/opengl/qgl_x11.cpp +++ b/src/opengl/qgl_x11.cpp @@ -867,11 +867,7 @@ void qgl_use_font(TQFontEngineXft *engine, int first, int count, int listBase) #if 0 // disable antialias support for now XftPatternGetBool(engine->pattern(), XFT_ANTIALIAS, 0, &antialiased); #endif -#ifdef QT_XFT2 FT_Face face = XftLockFace(engine->font()); -#else - FT_Face face = engine->face(); -#endif // start generating font glyphs for (int i = first; i < count; ++i) { int list = listBase + i; @@ -934,9 +930,7 @@ void qgl_use_font(TQFontEngineXft *engine, int first, int count, int listBase) antialiased ? delete[] aa_glyph : delete[] ua_glyph; } -#ifdef QT_XFT2 XftUnlockFace(engine->font()); -#endif // restore pixel unpack settings glPixelStorei(GL_UNPACK_SWAP_BYTES, gl_swapbytes); |