Skip to content

Commit

Permalink
Use ContextInfo::directContext() in skottie2movie.cpp
Browse files Browse the repository at this point in the history
TBR=
Change-Id: I3ed43328f84d4172407b40c32f5d331fa3b221d5
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/300821
Reviewed-by: Florin Malita <fmalita@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Florin Malita <fmalita@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Auto-Submit: Florin Malita <fmalita@chromium.org>
  • Loading branch information
fmalita authored and Skia Commit-Bot committed Jul 7, 2020
1 parent a0f9a3e commit cf5e35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/skottie2movie.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ int main(int argc, char** argv) {
// lazily allocate the surfaces
if (!surf) {
if (FLAGS_gpu) {
context = factory.getContextInfo(contextType).grContext();
context = factory.getContextInfo(contextType).directContext();
surf = SkSurface::MakeRenderTarget(context,
SkBudgeted::kNo,
info,
Expand Down

0 comments on commit cf5e35f

Please sign in to comment.