Friday, June 17, 2011

structs

You know I just realized that a lot of parameters in SDL are packed into structs and I bet it's to avoid having to have dozens of arguments getting passed to a function. It's easier to just pass a pointer to a big structure of stored parameters.

No comments:

Post a Comment