gl renderer: Ignore render ops before we have a valid program

This commit is contained in:
Timm Bäder 2017-12-08 20:43:47 +01:00
parent 2d3e87da46
commit 703c4cf003

View File

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