Skip to content
Commit 5e2d190e authored by Luigi Toscano's avatar Luigi Toscano
Browse files

Guard drawText() when X-bitmap fonts are used

If the fonts are mapped for some reason to X bitmap fonts,
the call to drawText() in the non-GUI thread will produce a crash.
Ensure that the rendering of the text is performed only if
the threaded font rendering is available - a rare event nowadays,
but still possible.

CCBUG: 248852
parent d888b204
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment