We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6797977 commit 114184cCopy full SHA for 114184c
shell/common/shell_io_manager.cc
@@ -22,8 +22,7 @@ sk_sp<GrDirectContext> ShellIOManager::CreateCompatibleResourceLoadingContext(
22
23
const auto options = MakeDefaultContextOptions(ContextType::kResource);
24
25
- if (auto context =
26
- GrDirectContext::MakeGL(std::move(gl_interface), options)) {
+ if (auto context = GrDirectContext::MakeGL(gl_interface, options)) {
27
// Do not cache textures created by the image decoder. These textures
28
// should be deleted when they are no longer referenced by an SkImage.
29
context->setResourceCacheLimit(0);
0 commit comments