From 983e9b467d4c105300876423db3076cc71a12309 Mon Sep 17 00:00:00 2001 From: Dan Paulat Date: Thu, 26 Dec 2024 12:11:55 -0600 Subject: [PATCH] Apply GeoLines aDisplayed fix to GeoIcons --- scwx-qt/source/scwx/qt/gl/draw/geo_icons.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/scwx-qt/source/scwx/qt/gl/draw/geo_icons.cpp b/scwx-qt/source/scwx/qt/gl/draw/geo_icons.cpp index f991893f..9e2a8d17 100644 --- a/scwx-qt/source/scwx/qt/gl/draw/geo_icons.cpp +++ b/scwx-qt/source/scwx/qt/gl/draw/geo_icons.cpp @@ -256,12 +256,11 @@ void GeoIcons::Initialize() gl.glEnableVertexAttribArray(6); // aDisplayed - gl.glVertexAttribPointer(7, - 1, - GL_INT, - GL_FALSE, - kIntegersPerVertex_ * sizeof(GLint), - reinterpret_cast(3 * sizeof(float))); + gl.glVertexAttribIPointer(7, + 1, + GL_INT, + kIntegersPerVertex_ * sizeof(GLint), + reinterpret_cast(3 * sizeof(GLint))); gl.glEnableVertexAttribArray(7); p->dirty_ = true;