mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 22:30:03 -04:00
eframe::Result is now short for eframe::Result<()> (#4706)
This commit is contained in:
@@ -1088,7 +1088,7 @@ impl GlutinWindowContext {
|
||||
&mut self,
|
||||
viewport_id: ViewportId,
|
||||
event_loop: &EventLoopWindowTarget<UserEvent>,
|
||||
) -> Result<()> {
|
||||
) -> Result {
|
||||
crate::profile_function!();
|
||||
|
||||
let viewport = self
|
||||
@@ -1188,7 +1188,7 @@ impl GlutinWindowContext {
|
||||
}
|
||||
|
||||
/// only applies for android. but we basically drop surface + window and make context not current
|
||||
fn on_suspend(&mut self) -> Result<()> {
|
||||
fn on_suspend(&mut self) -> Result {
|
||||
log::debug!("received suspend event. dropping window and surface");
|
||||
for viewport in self.viewports.values_mut() {
|
||||
viewport.gl_surface = None;
|
||||
|
||||
Reference in New Issue
Block a user