You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DrawTextureParams is a Clone type used in draw_texture_ex to specify how a particular texture should be drawn. The function takes DrawTextureParams directly though. Wouldn't it be more efficient/performant/flexible to take it by reference (i.e. &DrawTextureParams)?
The text was updated successfully, but these errors were encountered:
It would, but we cannot change that until a future release of macroquad 0.5, since it would currently break all usages of this function. Some more explanation can be found in #738.
DrawTextureParams
is aClone
type used indraw_texture_ex
to specify how a particular texture should be drawn. The function takesDrawTextureParams
directly though. Wouldn't it be more efficient/performant/flexible to take it by reference (i.e.&DrawTextureParams
)?The text was updated successfully, but these errors were encountered: