[gtk/wip/chergert/glproto: 54/493] mark queue as in draw




commit 2cb35cba1c03d643a1ecbc5c66517ec09e0fb134
Author: Christian Hergert <chergert redhat com>
Date:   Sat Dec 26 11:17:16 2020 -0800

    mark queue as in draw

 gsk/next/gskglcommandqueue.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gsk/next/gskglcommandqueue.c b/gsk/next/gskglcommandqueue.c
index e70c9ff4a8..2810f008b9 100644
--- a/gsk/next/gskglcommandqueue.c
+++ b/gsk/next/gskglcommandqueue.c
@@ -359,6 +359,8 @@ gsk_gl_command_queue_begin_draw (GskGLCommandQueue     *self,
   batch->draw.bind_offset = self->batch_binds->len;
   batch->draw.vbo_count = 0;
   batch->draw.vbo_offset = gsk_gl_buffer_get_offset (self->vertices);
+
+  self->in_draw = TRUE;
 }
 
 static void


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