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:
deb7958
)
"Reverting" [HACK] This works around the error in VS2015U3
author
Matthew Leibowitz
<mattleibow@live.com>
Sun, 4 Feb 2018 12:45:54 +0000
(14:45 +0200)
committer
Matthew Leibowitz
<mattleibow@live.com>
Sun, 4 Feb 2018 12:45:54 +0000
(14:45 +0200)
- mono/SkiaSharp #114
- "An internal error has occurred in the compiler."
include/private/GrSwizzle.h
patch
|
blob
|
history
diff --git
a/include/private/GrSwizzle.h
b/include/private/GrSwizzle.h
index
d0d48b9
..
391740b
100644
(file)
--- a/
include/private/GrSwizzle.h
+++ b/
include/private/GrSwizzle.h
@@
-117,6
+117,8
@@
public:
static GrSwizzle CreateRandom(SkRandom* random) {
switch (random->nextU() % 4) {
+ case 0:
+ return RGBA();
case 1:
return BGRA();
case 2:
@@
-124,6
+126,7
@@
public:
case 3:
return AAAA();
default:
+ SkFAIL("Mod is broken?!?");
return RGBA();
}
}