aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2017-07-07 11:41:02 -0400
committerGravatar Brian Osman <brianosman@google.com>2017-07-07 16:47:48 +0000
commitf4d57d633fa5aacd67e2470846e8ed08c87cb08e (patch)
treebfc6aaa3c6001d46278a681f59c8d06d45fefffc /tests
parentaa6c777f7d7c1507ae6fa5decf4355f335495430 (diff)
Tweak GLPrograms random seed to "fix" ANGLE bots
See anglebug.com/2098 No-Tree-Checks: true Change-Id: I793459f57a75ccefc7f071ef506e9d128c5abbe4 Reviewed-on: https://skia-review.googlesource.com/21860 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/GLProgramsTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
index c6616b1b79..a5c5f66fae 100644
--- a/tests/GLProgramsTest.cpp
+++ b/tests/GLProgramsTest.cpp
@@ -283,7 +283,7 @@ bool GrDrawingManager::ProgramUnitTest(GrContext* context, int maxStages, int ma
// dummy scissor state
GrScissorState scissor;
- SkRandom random;
+ SkRandom random(1);
static const int NUM_TESTS = 1024;
for (int t = 0; t < NUM_TESTS; t++) {
// setup random render target(can fail)