diff options
-rw-r--r-- | kms++util/src/testpat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kms++util/src/testpat.cpp b/kms++util/src/testpat.cpp index 78c9d19..1102588 100644 --- a/kms++util/src/testpat.cpp +++ b/kms++util/src/testpat.cpp @@ -173,7 +173,7 @@ static void draw_test_pattern_impl(IFramebuffer& fb, YUVType yuvt) // Create the mmaps before starting the threads for (unsigned i = 0; i < fb.num_planes(); ++i) - fb.map(0); + fb.map(i); unsigned num_threads = thread::hardware_concurrency(); vector<thread> workers; |