projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4246db5
)
WinRT has an issue with uninitialized SkNf
author
Matthew Leibowitz
<mattleibow@live.com>
Sun, 7 May 2017 15:35:10 +0000
(17:35 +0200)
committer
Matthew Leibowitz
<mattleibow@live.com>
Sun, 7 May 2017 15:35:10 +0000
(17:35 +0200)
src/opts/SkRasterPipeline_opts.h
patch
|
blob
|
history
diff --git
a/src/opts/SkRasterPipeline_opts.h
b/src/opts/SkRasterPipeline_opts.h
index
07f1e5a
..
89e05e1
100644
(file)
--- a/
src/opts/SkRasterPipeline_opts.h
+++ b/
src/opts/SkRasterPipeline_opts.h
@@
-1171,7
+1171,11
@@
namespace {
}
static void run_program(void** program, size_t x, size_t n) {
+#if SK_BUILD_FOR_WINRT
+ SkNf u = SkNf();
+#else
SkNf u; // fastest to start uninitialized.
+#endif
auto start = (Fn)load_and_increment(&program);
while (n >= N) {