fixed c implemntation

This commit is contained in:
2025-01-29 19:09:58 +00:00
parent 58d3ec9e71
commit f57a440623
6 changed files with 22 additions and 10 deletions

View File

@@ -2,7 +2,7 @@
#include "../includes/tart.h"
// windows only
#ifdef _WIN64
#include <Windows.h>
struct tart_vec2 term_current_size() {
struct tart_vec2 ret;
@@ -19,3 +19,9 @@ struct tart_vec2 term_current_size() {
return ret;
}
#endif
struct tart_vec2 term_current_size() {
struct tart_vec2 ret = {50,50};
return ret;
}