SiegeLord / DAllegro5

D binding to the Allegro5 game development library
Other
42 stars 15 forks source link

Fixing signature of al_compose_transform() #7

Closed lmbarros closed 11 years ago

lmbarros commented 11 years ago

Unlike the other transform-related functions, with al_compose_transform() the first parameter is mutable and the second one is const. I just moved the 'in' from the first to the second parameter, so that it matches the C signature and becomes usable. (See http://alleg.sourceforge.net/a5docs/5.0.7/transformations.html#al_compose_transform )

(Nice bindings, BTW. Thanks for them!)

SiegeLord commented 11 years ago

Thanks!