RandyGaul / cute_headers

Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games
4.29k stars 267 forks source link

cute_spritebatch.h function declaration mismatch #279

Closed meshula closed 2 years ago

meshula commented 2 years ago

declared:

void spritebatch_reset_function_ptrs(spritebatch_t* sb, submit_batch_fn* batch_callback, get_pixels_fn* get_pixels_callback, generate_texture_handle_fn* generate_texture_callback, destroy_texture_handle_fn* delete_texture_callback);

implemented:

void spritebatch_reset_function_ptrs(spritebatch_t* sb, submit_batch_fn* batch_callback, get_pixels_fn* get_pixels_callback, generate_texture_handle_fn* generate_texture_callback, destroy_texture_handle_fn* delete_texture_callback, sprites_sorter_fn* sprites_sorter_callback)

RandyGaul commented 2 years ago

Same thing here -- will be able to merge in pull request from phone if it's possible to put one up! Would be very helpful!

meshula commented 2 years ago

https://github.com/RandyGaul/cute_headers/pull/285

RandyGaul commented 2 years ago

Thanks so much Nick!