Fix new_texture_image in "preAbandonGpuContext" mode
This fixes a valgrind complaint Change-Id: I0f51168b2835b83d2bb5580257b02a105e249e31 Reviewed-on: https://skia-review.googlesource.com/8306 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
This commit is contained in:
parent
19c22e946d
commit
5bea651f0b
@ -505,6 +505,6 @@ DEF_SIMPLE_GM(new_texture_image, canvas, 280, 60) {
|
||||
canvas->drawImage(texImage, 0, 0);
|
||||
}
|
||||
}
|
||||
canvas->translate(image->width() + kPad, 0);
|
||||
canvas->translate(kSize + kPad, 0);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user