From 6350d1b6e4bdecdee82601731a52323ec047b394 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Tue, 20 Dec 2016 10:11:32 +0200 Subject: kmstest: fix bug in setups_to_outputs() Bad output used to get the crtc, causing crash. Signed-off-by: Tomi Valkeinen --- utils/kmstest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/kmstest.cpp') diff --git a/utils/kmstest.cpp b/utils/kmstest.cpp index 3a98468..f12ed09 100644 --- a/utils/kmstest.cpp +++ b/utils/kmstest.cpp @@ -577,7 +577,7 @@ static vector setups_to_outputs(Card& card, const vector& outpu // create default framebuffers if needed for (OutputInfo& o : outputs) { if (!o.crtc) { - get_default_crtc(card, *current_output); + get_default_crtc(card, o); o.user_set_crtc = true; } -- cgit v1.2.3