[Spice-devel] [PATCH 4/4] do not reset gl_draw_ongoing before calling display_channel_gl_draw_done

Frediano Ziglio fziglio at redhat.com
Fri Feb 5 15:41:56 UTC 2016


This will cause a failure of the function. The function is supposed
to be called with this flag TRUE.
This patch should be squashed into another.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 server/dcc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/server/dcc.c b/server/dcc.c
index 2367c5e..5ccbda1 100644
--- a/server/dcc.c
+++ b/server/dcc.c
@@ -506,7 +506,6 @@ void dcc_stop(DisplayChannelClient *dcc)
     dcc_encoders_free(dcc);
 
     if (dcc->gl_draw_ongoing) {
-        dcc->gl_draw_ongoing = FALSE;
         display_channel_gl_draw_done(dc);
     }
 }
-- 
2.5.0



More information about the Spice-devel mailing list