diff options
Diffstat (limited to 'gm/discard.cpp')
-rw-r--r-- | gm/discard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/discard.cpp b/gm/discard.cpp index 106a6becc0..d30e15c316 100644 --- a/gm/discard.cpp +++ b/gm/discard.cpp @@ -58,7 +58,7 @@ protected: for (int y = 0; y < 10; ++y) { surface->getCanvas()->discard(); // Make something that isn't too close to the background color, black. - SkColor color = rand.nextU() | 0xFF404040; + SkColor color = sk_tool_utils::color_to_565(rand.nextU() | 0xFF404040); switch (rand.nextULessThan(3)) { case 0: surface->getCanvas()->drawColor(color); |