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

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

 



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@xxxxxxxxxx>
---
 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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]