mirror of
https://github.com/servo/servo.git
synced 2025-09-06 04:58:21 +01:00
This reverts commit 503bb10c5b
.
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
90130315a7
commit
0fed99590a
13 changed files with 97 additions and 69 deletions
|
@ -100,7 +100,7 @@ impl Minibrowser {
|
|||
.options_mut(|options| options.zoom_with_keyboard = false);
|
||||
|
||||
let widget_surface_fbo = match rendering_context.context_surface_info() {
|
||||
Ok(Some(info)) => info.framebuffer_object,
|
||||
Ok(Some(info)) => NonZeroU32::new(info.framebuffer_object).map(NativeFramebuffer),
|
||||
Ok(None) => panic!("Failed to get widget surface info from surfman!"),
|
||||
Err(error) => panic!("Failed to get widget surface info from surfman! {error:?}"),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue