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
Currently, the update and render callback functions take no arguments. The only way to access window information is via global state, which restricts the options available for program design. I propose that the signatures for the update and render functions be changed to include a pointer to the window that is calling the function.
Yes, this would be a breaking change, but I think it's a good one worth considering.
The text was updated successfully, but these errors were encountered:
Hello,
Currently, the
update
andrender
callback functions take no arguments. The only way to access window information is via global state, which restricts the options available for program design. I propose that the signatures for theupdate
andrender
functions be changed to include a pointer to the window that is calling the function.Yes, this would be a breaking change, but I think it's a good one worth considering.
The text was updated successfully, but these errors were encountered: