forked from minhngoc25a/freetype2
[smooth] Fix GCC LTO crashes on Windows.
Fixes #1164 by using a volatile variable around `setjmp`. It is hard to say how this fixes crashes related to certain link-time optimizations. This does not decrease the rendering performance. * src/smooth/ftgrays.c (gray_convert_glyph_inner): Use volatile `error`.
This commit is contained in:
parent
9acefc4f51
commit
4fef1fcede
|
@ -1912,7 +1912,7 @@ typedef ptrdiff_t FT_PtrDist;
|
|||
gray_convert_glyph_inner( RAS_ARG_
|
||||
int continued )
|
||||
{
|
||||
int error;
|
||||
volatile int error;
|
||||
|
||||
|
||||
if ( ft_setjmp( ras.jump_buffer ) == 0 )
|
||||
|
|
Loading…
Reference in New Issue