mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
[WIN32SS][FONT] Add ASSERT_FREETYPE_LOCK_HELD(); in FillTMEx (#1005)
Add a assertion for locking, in FillTMEx function of freetype.c. CORE-15166
This commit is contained in:
@@ -1722,6 +1722,8 @@ FillTMEx(TEXTMETRICW *TM, PFONTGDI FontGDI,
|
||||
int Ascent, Descent;
|
||||
FT_Face Face = FontGDI->SharedFace->Face;
|
||||
|
||||
ASSERT_FREETYPE_LOCK_HELD();
|
||||
|
||||
XScale = Face->size->metrics.x_scale;
|
||||
YScale = Face->size->metrics.y_scale;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user