mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Dirty canvas when exiting immersive sessions
This commit is contained in:
parent
37023b24f2
commit
d146303f1d
2 changed files with 17 additions and 1 deletions
|
@ -503,7 +503,7 @@ impl WebGLRenderingContext {
|
|||
}
|
||||
}
|
||||
|
||||
fn mark_as_dirty(&self) {
|
||||
pub fn mark_as_dirty(&self) {
|
||||
// If we have a bound framebuffer, then don't mark the canvas as dirty.
|
||||
if self.bound_draw_framebuffer.get().is_some() {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue