[gtk-vnc] Fix inverted args when creating framebuffer for test suite



commit 1f508111add33f0e4ceb4425132777d781974730
Author: Daniel P. Berrange <berrange redhat com>
Date:   Thu Apr 6 17:18:33 2017 +0100

    Fix inverted args when creating framebuffer for test suite
    
    The local & remote format args were inverted in the test
    suite. This is currently harmless since we are not trying
    to validate the rendered framebuffer content.
    
    Signed-off-by: Daniel P. Berrange <berrange redhat com>

 src/vncconnectiontest.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/vncconnectiontest.c b/src/vncconnectiontest.c
index 6a5e49c..7caaa6e 100644
--- a/src/vncconnectiontest.c
+++ b/src/vncconnectiontest.c
@@ -187,8 +187,7 @@ static void test_helper_desktop_resize(VncConnection *conn,
     test->pixels = g_new0(guint8, width * height * 4);
 
     fb = vnc_base_framebuffer_new(test->pixels, width, height, width * 4,
-                                  remoteFormat,
-                                  &localFormat);
+                                  &localFormat, remoteFormat);
 
     vnc_connection_set_framebuffer(conn, VNC_FRAMEBUFFER(fb));
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]