I am in the midst or porting my project from Kore to Kinc and am encountering an issue with the resolution of the application on Mac OS.
If I use the following code the window launches fullscreen :
kinc_window_options_t kinc_window_options;
kinc_window_options.width = 1440;
kinc_window_options.height = 900;
kinc_init("VieTest", 1440, 900, &kinc_window_options, NULL);
However, if I assign the width and height to variables and utilize them for kinc_window_options and kinc_init the application's window only occupies half of the width and height of the screen's resolution.
int width = 1440;
int height = 900;
kinc_window_options_t kinc_window_options;
kinc_window_options.width = width;
kinc_window_options.height = height;
kinc_init("VieTest", width, height, &kinc_window_options, NULL);
Obviously I am missing something here, but I am confused. Also, does Kinc include a way to get the resolution of a device's screen, or does that code have to be written on a per-platform basis?
I have also posted this on GitHub discussions (https://github.com/Kode/Kinc/discussions/578) as I just saw the pinned note.