test/sandbox.c

changeset 15
362b7659dc76
parent 7
9dd76cbd6c90
child 16
c5dde81b6fb2
equal deleted inserted replaced
14:9dbfc0031887 15:362b7659dc76
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

mercurial