From 92227eda8bbef59ef38fcef6974a8958053bf3bd Mon Sep 17 00:00:00 2001 From: Leonardo Zide Date: Tue, 12 Jan 2021 13:48:04 -0800 Subject: [PATCH] Removed unused variable. --- common/lc_context.h | 2 +- resources/shaders/unlit_view_sphere_ps.glsl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/lc_context.h b/common/lc_context.h index 97cb7e92..a45fff70 100644 --- a/common/lc_context.h +++ b/common/lc_context.h @@ -220,7 +220,7 @@ protected: lcMatrix44 mViewMatrix; lcMatrix44 mProjectionMatrix; lcMatrix44 mViewProjectionMatrix; - lcVector4 mHighlightParams[5]; + lcVector4 mHighlightParams[4]; bool mColorDirty; bool mWorldMatrixDirty; bool mViewMatrixDirty; diff --git a/resources/shaders/unlit_view_sphere_ps.glsl b/resources/shaders/unlit_view_sphere_ps.glsl index 5d4ca661..791da095 100644 --- a/resources/shaders/unlit_view_sphere_ps.glsl +++ b/resources/shaders/unlit_view_sphere_ps.glsl @@ -1,7 +1,7 @@ LC_PIXEL_INPUT vec3 PixelNormal; LC_PIXEL_OUTPUT -uniform mediump vec4 HighlightParams[5]; +uniform mediump vec4 HighlightParams[4]; uniform samplerCube Texture; void main()