Archived
1
Fork 0

Add proper resize support on Linux

This commit is contained in:
redstrate 2021-02-15 16:12:00 -05:00
parent c37a8471c9
commit 0887fbda28

View file

@ -323,6 +323,9 @@ int main(int argc, char* argv[]) {
{
const xcb_configure_notify_event_t *cfgEvent = (const xcb_configure_notify_event_t *)event;
window_width = cfgEvent->width;
window_height = cfgEvent->height;
engine->resize(0, {cfgEvent->width, cfgEvent->height});
}
break;