47 AscWindowSettings settings; |
47 AscWindowSettings settings; |
48 asc_window_settings_init_defaults(&settings); |
48 asc_window_settings_init_defaults(&settings); |
49 settings.title = "Sandbox Application"; |
49 settings.title = "Sandbox Application"; |
50 |
50 |
51 AscWindow *window = asc_window_initialize(0, &settings); |
51 AscWindow *window = asc_window_initialize(0, &settings); |
52 |
52 asc_shader_initialize_predefined(); |
53 while (asc_loop_next()) { |
53 while (asc_loop_next()) { |
54 // quit application on any error |
54 // quit application on any error |
55 if (show_message_box_on_error(window->window)) break; |
55 if (show_message_box_on_error(window->window)) break; |
56 |
56 |
57 |
57 |