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
Please register or sign in to comment