It needs an implementation for `free_texture` in 4ed_metal_render.mm (like `get_texture_of_dim`, and `fill_texture`). We also need to make sure that the texture (`handle` parameter in get_texture_of_dim and fill_texture) is not zero as the original fix expect 0 to signify "invalid texture". More specifically in `4ed_font_provider_freetyp.cpp` there is `if (texture) { fill the texture }` and in `4ed_font_set.cpp` there is `if ( slot->face->texture != 0 ) { graphics_free_texture(...);}` |
||
---|---|---|
.. | ||
mac_4ed.mm | ||
mac_4ed_functions.mm | ||
mac_4ed_metal.mm | ||
mac_4ed_opengl.mm | ||
mac_4ed_opengl_funcs.h | ||
mac_4ed_renderer.h | ||
mac_4ed_renderer.mm | ||
mac_error_box.cpp | ||
mac_objective_c_to_cpp_links.h | ||
mac_semaphore_wrapper.h |