summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qtriangulator.cpp
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2014-09-20 19:34:05 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2014-10-03 13:31:12 +0200
commitae0a624e2fd92eb43b1ed7960a0f60ad5551869b (patch)
tree0dd94fbbe38510ac32fca2310b62371eb567ff56 /src/gui/opengl/qtriangulator.cpp
parent03668011205fa2b7fc2544ca663c131e976641b6 (diff)
QTriangulator: fix the array of deltas between primes
121e71293500e08148d3c2ce31a8e9b618943cba fixed it into QHash, so copy the same ranges here. Change-Id: Ia7738f878965b5593d6ca641d6b8911abfdd2dd3 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Diffstat (limited to 'src/gui/opengl/qtriangulator.cpp')
-rw-r--r--src/gui/opengl/qtriangulator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/opengl/qtriangulator.cpp b/src/gui/opengl/qtriangulator.cpp
index f44c8adcf5..5a45117ce3 100644
--- a/src/gui/opengl/qtriangulator.cpp
+++ b/src/gui/opengl/qtriangulator.cpp
@@ -441,8 +441,8 @@ T QMaxHeap<T>::pop()
// Copied from qhash.cpp
static const uchar prime_deltas[] = {
- 0, 0, 1, 3, 1, 5, 3, 3, 1, 9, 7, 5, 3, 9, 25, 3,
- 1, 21, 3, 21, 7, 15, 9, 5, 3, 29, 15, 0, 0, 0, 0, 0
+ 0, 0, 1, 3, 1, 5, 3, 3, 1, 9, 7, 5, 3, 17, 27, 3,
+ 1, 29, 3, 21, 7, 17, 15, 9, 43, 35, 15, 0, 0, 0, 0, 0
};
// Copied from qhash.cpp