Index: samplecode/SampleApp.cpp |
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp |
index 7afaa969721a9c0d0ad7666ecf0ae714e6ef8856..a02a360be7f47476b16efdc972786f4c36bc7775 100644 |
--- a/samplecode/SampleApp.cpp |
+++ b/samplecode/SampleApp.cpp |
@@ -297,7 +297,9 @@ public: |
return SkSurface::MakeRenderTarget(fCurContext, SkBudgeted::kNo, win->info(), |
fMSAASampleCount, &props).release(); |
} else { |
- return SkSurface::MakeRenderTargetDirect(fCurRenderTarget, &props).release(); |
+ return SkSurface::MakeRenderTargetDirect(fCurRenderTarget, |
+ sk_ref_sp(win->info().colorSpace()), |
+ &props).release(); |
} |
} |
#endif |