summaryrefslogtreecommitdiff
path: root/core/fxge/cfx_renderdevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxge/cfx_renderdevice.cpp')
-rw-r--r--core/fxge/cfx_renderdevice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxge/cfx_renderdevice.cpp b/core/fxge/cfx_renderdevice.cpp
index aed1bff94e..c63f2f5ec3 100644
--- a/core/fxge/cfx_renderdevice.cpp
+++ b/core/fxge/cfx_renderdevice.cpp
@@ -936,11 +936,11 @@ bool CFX_RenderDevice::DrawNormalText(int nChars,
charpos.m_AdjustMatrix[2], charpos.m_AdjustMatrix[3], 0, 0);
new_matrix.Concat(deviceCtm);
glyph.m_pGlyph = pFont->LoadGlyphBitmap(
- charpos.m_GlyphIndex, charpos.m_bFontStyle, &new_matrix,
+ charpos.m_GlyphIndex, charpos.m_bFontStyle, new_matrix,
charpos.m_FontCharWidth, anti_alias, nativetext_flags);
} else {
glyph.m_pGlyph = pFont->LoadGlyphBitmap(
- charpos.m_GlyphIndex, charpos.m_bFontStyle, &deviceCtm,
+ charpos.m_GlyphIndex, charpos.m_bFontStyle, deviceCtm,
charpos.m_FontCharWidth, anti_alias, nativetext_flags);
}
}