mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Call NativeSurface::upload through a mut reference.
Required for servo/rust-layers#95.
This commit is contained in:
parent
43d176f653
commit
2ede648d5a
1 changed files with 1 additions and 1 deletions
|
@ -374,7 +374,7 @@ impl<C:RenderListener + Send> RenderTask<C> {
|
|||
// draw target in GPU rendering mode, so that it doesn't have to recreate it.
|
||||
let buffer = match self.graphics_context {
|
||||
CpuGraphicsContext => {
|
||||
let buffer = match self.buffer_map.find(tile.screen_rect.size) {
|
||||
let mut buffer = match self.buffer_map.find(tile.screen_rect.size) {
|
||||
Some(buffer) => {
|
||||
let mut buffer = buffer;
|
||||
buffer.rect = tile.page_rect;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue