Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit cf5e35f

Browse files
fmalitaSkia Commit-Bot
authored and
Skia Commit-Bot
committed
Use ContextInfo::directContext() in skottie2movie.cpp
TBR= Change-Id: I3ed43328f84d4172407b40c32f5d331fa3b221d5 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/300821 Reviewed-by: Florin Malita <[email protected]> Reviewed-by: Robert Phillips <[email protected]> Commit-Queue: Florin Malita <[email protected]> Commit-Queue: Robert Phillips <[email protected]> Auto-Submit: Florin Malita <[email protected]>
1 parent a0f9a3e commit cf5e35f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/skottie2movie.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ int main(int argc, char** argv) {
108108
// lazily allocate the surfaces
109109
if (!surf) {
110110
if (FLAGS_gpu) {
111-
context = factory.getContextInfo(contextType).grContext();
111+
context = factory.getContextInfo(contextType).directContext();
112112
surf = SkSurface::MakeRenderTarget(context,
113113
SkBudgeted::kNo,
114114
info,

0 commit comments

Comments
 (0)