Results 228 comments of Fedor Logachev

> ``` > loop { > load_ttf_font(&"/path/to/font.ttf").await.unwrap(); > } > ``` > > Unlike `Texture2D`, there is no such method as `.delete` on a `Font` object. so I don't have...

> @not-fl3 the `Texture2D::delete` method has been removed in [8f2856f](https://github.com/not-fl3/macroquad/commit/8f2856f09674324b1222d7f344b2d101377430bb). How to deallocate unused textures in the latest version of macroquad? Thanks for report, should be fixed with https://github.com/not-fl3/macroquad/commit/65451f5bdcf7802c3d62181873d30b9c3c6c49f2

> @not-fl3 , maybe you can give a hint where I could check the implementation and try to guess why is this failing myself? I would be glad to help...

Looks like its a native function of an ApplicationServices framework? https://developer.apple.com/documentation/applicationservices/1462420-transformprocesstype?language=objc I am not a mac user and I do not truely understand neither the problem nor the fix, so...

Yes, there is a workaround! Un update, draw everything to a texture once, and than draw that texture every frame. This will allow to handle window resizes properly and do...

Sure, feel free to send a PR for the original articel! However, I uploaded a binary to iPhone with the commands from the original article just a few days ago,...

even on desktop, there is no 100% working way to control the fps. It could always be overwritten in per-app/systemwide driver settings, you never can be sure that any fps...

> Any update on this? I've been trying to find workarounds, but no sucess so far. a common workaround is to render into a texture and draw this texture each...

Yes, you use a render target, this example might help: https://github.com/not-fl3/macroquad/blob/master/examples/post_processing.rs