Remove new_width and new_height parameters from resize callback. Use terml_get_width() and terml_get_height() instead.

This commit is contained in:
Shylie
2024-03-07 11:47:41 -05:00
parent 97ff848762
commit d6db7301f0
2 changed files with 4 additions and 6 deletions

View File

@@ -11,9 +11,7 @@ typedef int (*terml_quit_callback) ();
typedef void (*terml_key_callback) (char code);
typedef void (*terml_resize_callback)(
unsigned int previous_width,
unsigned int previous_height,
unsigned int new_width,
unsigned int new_height
unsigned int previous_height
);
int terml_init();