forked from AuroraMiddleware/gtk
gl renderer: Ignore render ops before we have a valid program
This commit is contained in:
parent
2d3e87da46
commit
703c4cf003
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user