Cross-thread lambda functions fail on win32
This commit is contained in:
parent
e67c043555
commit
41d81ccd8f
4 changed files with 24 additions and 4 deletions
|
@ -41,6 +41,12 @@ void Canvas::set_status(const QString &s)
|
|||
update();
|
||||
}
|
||||
|
||||
void Canvas::clear_status()
|
||||
{
|
||||
status = "";
|
||||
update();
|
||||
}
|
||||
|
||||
void Canvas::initializeGL()
|
||||
{
|
||||
mesh_shader.addShaderFromSourceFile(QGLShader::Vertex, ":/gl/mesh.vert");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue