Open optozorax opened 5 months ago
Fixing this requires a breaking change for both macroquad and miniquad:
Material::set_texture
and miniquads QuadGl::set_texture
should take &Texture2D
instead of Texture2D
.In the meantime @optozorax for your example to work you need to use material.set_texture("ferris_tex", texture.clone())
;
(Don't worry, it won't actually clone the texture, just a smart pointer for it)
I used this MRE:
This example should draw ferris texture. But on current version it draws black screen.
Using
git bisect
I found that after this commit this example brokes.