linux: basic quad renderer logic

This commit is contained in:
Dzmitry Malyshau 2024-01-30 00:32:30 -08:00
parent 503ac7a251
commit 8aa768765f
9 changed files with 352 additions and 53 deletions

View file

@ -115,6 +115,7 @@ impl Platform for LinuxPlatform {
xcb::Event::X(x::Event::ResizeRequest(ev)) => {
let this = self.0.lock();
LinuxWindowState::resize(&this.windows[&ev.window()], ev.width(), ev.height());
repaint_x_window = Some(ev.window());
}
_ => {}
}