diff --git a/libvisual/tests/video_test/video_blit_test.cpp b/libvisual/tests/video_test/video_blit_test.cpp index 5906747f9..34320dd0b 100644 --- a/libvisual/tests/video_test/video_blit_test.cpp +++ b/libvisual/tests/video_test/video_blit_test.cpp @@ -34,9 +34,9 @@ namespace actual->blit (source, 0, 0, true); for (int y = 0; y < test_height; y++) { - auto source_pixel = static_cast (source->get_pixel_ptr (y, 0)); - auto target_pixel = static_cast (target->get_pixel_ptr (y, 0)); - auto actual_pixel = static_cast (actual->get_pixel_ptr (y, 0)); + auto source_pixel = static_cast (source->get_pixel_ptr (0, y)); + auto target_pixel = static_cast (target->get_pixel_ptr (0, y)); + auto actual_pixel = static_cast (actual->get_pixel_ptr (0, y)); for (int x = 0; x < test_width; x++) { LV_TEST_ASSERT (actual_pixel[3] == target_pixel[3]);