提交 4062813e 编写于 作者: T Tony Gentilcore

Set GLContext before calling MGLEcho.

上级 70d40c91
......@@ -132,6 +132,7 @@ void RasterizerMojo::Draw(uint64_t layer_tree_ptr,
DrawCallback* context = new DrawCallback();
*context = callback;
TRACE_EVENT_ASYNC_BEGIN0("flutter", "MGLEcho", context);
mojo::GLContext::Scope scope(gl_state_->gl_context);
MGLEcho(DidEcho, context);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册