From 46f6278a1e223746ae0cedb977155f3c8b3aa97a Mon Sep 17 00:00:00 2001 From: "Addisu Z. Taddese" Date: Fri, 31 May 2024 17:42:25 -0500 Subject: [PATCH] Fix crash when visualizing Lidars with points Fixes: #969 Signed-off-by: Addisu Z. Taddese --- ogre2/src/media/materials/programs/GLSL/point_vs.glsl | 1 + 1 file changed, 1 insertion(+) diff --git a/ogre2/src/media/materials/programs/GLSL/point_vs.glsl b/ogre2/src/media/materials/programs/GLSL/point_vs.glsl index 139e9f7b3..65e361750 100644 --- a/ogre2/src/media/materials/programs/GLSL/point_vs.glsl +++ b/ogre2/src/media/materials/programs/GLSL/point_vs.glsl @@ -24,6 +24,7 @@ uniform float size; out gl_PerVertex { vec4 gl_Position; + float gl_PointSize; }; void main()