This commit is contained in:
luboslenco
2025-09-02 15:01:12 +02:00
parent ba0f21fb80
commit a969cdd8d5
7 changed files with 80 additions and 160 deletions
+2 -6
View File
@@ -1,16 +1,13 @@
function main() {
// Used to locate external application data folder
iron_set_app_name(manifest_title);
config_load();
sys_on_resize = base_on_resize;
sys_on_w = base_w;
sys_on_h = base_h;
sys_on_x = base_x;
sys_on_y = base_y;
iron_set_app_name(manifest_title); // Used to locate external application data folder
config_load();
config_init();
context_init();
sys_start(config_get_options());
@@ -22,7 +19,6 @@ function main() {
uniforms_ext_init();
render_path_base_init();
render_path_deferred_init(); // Allocate gbuffer
if (context_raw.render_mode == render_mode_t.FORWARD) {
render_path_forward_init();
render_path_commands = render_path_forward_commands;