[gtk+/wip/baedert/gl: 80/85] gl renderer: Ignore render ops before we have a valid program
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/gl: 80/85] gl renderer: Ignore render ops before we have a valid program
- Date: Sat, 9 Dec 2017 13:20:04 +0000 (UTC)
commit 688041a7547bd6bc3f5583e8d23bdbf011d5e2b1
Author: Timm Bäder <mail baedert org>
Date: Fri Dec 8 20:43:47 2017 +0100
gl renderer: Ignore render ops before we have a valid program
gsk/gl/gskglrenderer.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index 5da50f6..40020de 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -1629,6 +1629,10 @@ gsk_gl_renderer_render_ops (GskGLRenderer *self,
op->op == OP_CHANGE_VAO)
continue;
+ if (op->op != OP_CHANGE_PROGRAM &&
+ program == NULL)
+ continue;
+
OP_PRINT ("Op %u: %u", i, op->op);
switch (op->op)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]