92 for (unsigned int i = 0 ; i < ASC_MAX_WINDOWS ; i++) { |
92 for (unsigned int i = 0 ; i < ASC_MAX_WINDOWS ; i++) { |
93 if (asc_context.windows[i].id == id) { |
93 if (asc_context.windows[i].id == id) { |
94 asc_vec2i dimensions = (asc_vec2i) {width, height}; |
94 asc_vec2i dimensions = (asc_vec2i) {width, height}; |
95 asc_context.windows[i].resized = true; |
95 asc_context.windows[i].resized = true; |
96 asc_context.windows[i].dimensions = dimensions; |
96 asc_context.windows[i].dimensions = dimensions; |
97 asc_context.windows[i].ui.viewport.size = dimensions; |
|
98 asc_context.windows[i].ui.cameras[0].rect.size = dimensions; |
|
99 return; |
97 return; |
100 } |
98 } |
101 } |
99 } |
102 } |
100 } |
103 |
101 |