Skip to content

Commit

Permalink
Merge pull request #326 from dpaulat/hotfix/geo-line-amd-display
Browse files Browse the repository at this point in the history
Fix GeoLines Shader Usage
  • Loading branch information
dpaulat authored Dec 26, 2024
2 parents ddac6c1 + 9a17146 commit 4cd0885
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions scwx-qt/source/scwx/qt/gl/draw/geo_lines.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,11 @@ void GeoLines::Initialize()
gl.glEnableVertexAttribArray(6);

// aDisplayed
gl.glVertexAttribPointer(7,
1,
GL_INT,
GL_FALSE,
kIntegersPerVertex_ * sizeof(GLint),
reinterpret_cast<void*>(3 * sizeof(float)));
gl.glVertexAttribIPointer(7,
1,
GL_INT,
kIntegersPerVertex_ * sizeof(GLint),
reinterpret_cast<void*>(3 * sizeof(GLint)));
gl.glEnableVertexAttribArray(7);

p->dirty_ = true;
Expand Down

0 comments on commit 4cd0885

Please sign in to comment.