mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-04-26 04:07:02 +00:00
Merge branch 'bba' into 'master'
bbasm See merge request SymbioticEDA/nextpnr!18
This commit is contained in:
@@ -198,6 +198,8 @@ bool LineShader::compile(void)
|
||||
void LineShader::draw(const LineShaderData &line, const QColor &color, float thickness, const QMatrix4x4 &projection)
|
||||
{
|
||||
auto gl = QOpenGLContext::currentContext()->functions();
|
||||
if (line.vertices.size() == 0)
|
||||
return;
|
||||
vao_.bind();
|
||||
program_->bind();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user