add async call on main
This commit is contained in:
@@ -4,4 +4,10 @@
|
||||
|
||||
void DoricShaderPlugin::render(QJSValue jsValue, QString callbackId) {
|
||||
qDebug() << getContext();
|
||||
getContext()->getDriver()->asyncCall(
|
||||
[this, jsValue] {
|
||||
QString viewId = jsValue.property("id").toString();
|
||||
getContext()->getDriver();
|
||||
},
|
||||
DoricThreadMode::UI);
|
||||
}
|
||||
|
Reference in New Issue
Block a user