From ea298f59e45ee94e64522eb914c452cceeb8afce Mon Sep 17 00:00:00 2001 From: kgv Date: Thu, 21 Feb 2019 00:23:19 +0300 Subject: [PATCH] 0030384: Visualization - Won't display line with dot and dash style on Android Fix misprint leading to double semicolon in GLSL code. --- src/OpenGl/OpenGl_ShaderManager.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenGl/OpenGl_ShaderManager.cxx b/src/OpenGl/OpenGl_ShaderManager.cxx index 6ff6c20b6f..2cb4e08d4b 100644 --- a/src/OpenGl/OpenGl_ShaderManager.cxx +++ b/src/OpenGl/OpenGl_ShaderManager.cxx @@ -1635,8 +1635,8 @@ Standard_Boolean OpenGl_ShaderManager::prepareStdProgramUnlit (Handle(OpenGl_Sha if (hasGlslBitOps) { - aUniforms.Append (OpenGl_ShaderObject::ShaderVariable ("int uPattern;", Graphic3d_TOS_FRAGMENT)); - aUniforms.Append (OpenGl_ShaderObject::ShaderVariable ("float uFactor;", Graphic3d_TOS_FRAGMENT)); + aUniforms.Append (OpenGl_ShaderObject::ShaderVariable ("int uPattern", Graphic3d_TOS_FRAGMENT)); + aUniforms.Append (OpenGl_ShaderObject::ShaderVariable ("float uFactor", Graphic3d_TOS_FRAGMENT)); aStageInOuts.Append (OpenGl_ShaderObject::ShaderVariable ("vec2 ScreenSpaceCoord", Graphic3d_TOS_VERTEX | Graphic3d_TOS_FRAGMENT)); aSrcVertEndMain = EOL" ScreenSpaceCoord = gl_Position.xy / gl_Position.w;";