Blame SOURCES/0002-Fix-inverted-args-when-creating-framebuffer-for-test.patch

bf78cb
From 871f698cfdd4a7a43e3a155e2b31a13bf54a3cc5 Mon Sep 17 00:00:00 2001
bf78cb
From: "Daniel P. Berrange" <berrange@redhat.com>
bf78cb
Date: Thu, 6 Apr 2017 17:18:33 +0100
bf78cb
Subject: [PATCH] Fix inverted args when creating framebuffer for test suite
bf78cb
bf78cb
The local & remote format args were inverted in the test
bf78cb
suite. This is currently harmless since we are not trying
bf78cb
to validate the rendered framebuffer content.
bf78cb
bf78cb
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
bf78cb
(cherry picked from commit 1f508111add33f0e4ceb4425132777d781974730)
bf78cb
---
bf78cb
 src/vncconnectiontest.c | 3 +--
bf78cb
 1 file changed, 1 insertion(+), 2 deletions(-)
bf78cb
bf78cb
diff --git a/src/vncconnectiontest.c b/src/vncconnectiontest.c
bf78cb
index 6a5e49c..7caaa6e 100644
bf78cb
--- a/src/vncconnectiontest.c
bf78cb
+++ b/src/vncconnectiontest.c
bf78cb
@@ -187,8 +187,7 @@ static void test_helper_desktop_resize(VncConnection *conn,
bf78cb
     test->pixels = g_new0(guint8, width * height * 4);
bf78cb
 
bf78cb
     fb = vnc_base_framebuffer_new(test->pixels, width, height, width * 4,
bf78cb
-                                  remoteFormat,
bf78cb
-                                  &localFormat);
bf78cb
+                                  &localFormat, remoteFormat);
bf78cb
 
bf78cb
     vnc_connection_set_framebuffer(conn, VNC_FRAMEBUFFER(fb));
bf78cb