Merge branch 'animesh' of git://github.com/Shyotl/SingularityViewer into animesh

This commit is contained in:
Lirusaito
2019-03-25 17:21:16 -04:00
3 changed files with 5 additions and 6 deletions

View File

@@ -40,7 +40,7 @@ uniform float max_cof;
uniform float res_scale;
uniform float dof_width;
uniform float dof_height;
uniform float kern_scale;
uniform vec2 kern_scale;
VARYING vec2 vary_fragcoord;

View File

@@ -4146,10 +4146,9 @@ void LLPipeline::renderGeom(LLCamera& camera, BOOL forceVBOUpdate)
if (!gPipeline.hasRenderType(LLPipeline::RENDER_TYPE_HUD))
{
updateHWLightMode(LIGHT_MODE_NORMAL);
llassert_always(LLGLState<GL_LIGHTING>::checkEnabled());
}
llassert_always(LLGLState<GL_LIGHTING>::checkEnabled());
BOOL occlude = sUseOcclusion > 1;
U32 cur_type = 0;