@@ -1496,9 +1496,9 @@ static bool LoadMap( shaderStage_t *stage, const char *buffer, stageType_t type,
14961496				case  stageType_t::ST_COLORMAP:
14971497				case  stageType_t::ST_DIFFUSEMAP:
14981498					{
1499- 						bool  naiveBlend  = stage->stateBits  & GLS_NAIVEBLEND ;
1499+ 						bool  naive  = stage->stateBits  & GLS_NAIVE ;
15001500
1501- 						if  ( !naiveBlend  )
1501+ 						if  ( !naive  )
15021502						{
15031503							imageParams.bits  |= IF_SRGB;
15041504							stage->convertColorFromSRGB  = tr.convertColorFromSRGB ;
@@ -2098,7 +2098,7 @@ static bool ParseStage( shaderStage_t *stage, const char **text )
20982098	const  char  *token;
20992099	int           colorMaskBits = 0 ;
21002100	int  depthMaskBits = GLS_DEPTHMASK_TRUE, blendSrcBits = 0 , blendDstBits = 0 , atestBits = 0 , depthFuncBits = 0 , polyModeBits = 0 ;
2101- 	int  naiveBlendBits  = 0 ;
2101+ 	int  naiveBits  = 0 ;
21022102	bool      depthMaskExplicit = false ;
21032103	int           imageBits = 0 ;
21042104	filterType_t filterType;
@@ -2654,9 +2654,9 @@ static bool ParseStage( shaderStage_t *stage, const char **text )
26542654				depthMaskBits = 0 ;
26552655			}
26562656		}
2657- 		else  if  ( !Q_stricmp ( token, " naiveBlend "   ) )
2657+ 		else  if  ( !Q_stricmp ( token, " naive "   ) )
26582658		{
2659- 			naiveBlendBits  |= GLS_NAIVEBLEND ;
2659+ 			naiveBits  |= GLS_NAIVE ;
26602660		}
26612661		//  stage <type>
26622662		else  if  ( !Q_stricmp ( token, " stage"   ) )
@@ -3346,7 +3346,7 @@ static bool ParseStage( shaderStage_t *stage, const char **text )
33463346	}
33473347
33483348	//  compute state bits
3349- 	stage->stateBits  = colorMaskBits | depthMaskBits | blendSrcBits | blendDstBits | atestBits | depthFuncBits | polyModeBits | naiveBlendBits ;
3349+ 	stage->stateBits  = colorMaskBits | depthMaskBits | blendSrcBits | blendDstBits | atestBits | depthFuncBits | polyModeBits | naiveBits ;
33503350
33513351	//  Do not load heatHaze maps when r_heatHaze is disabled.
33523352	if  ( stage->type  == stageType_t::ST_HEATHAZEMAP && !r_heatHaze->integer  )
0 commit comments