OpenGL clipping space coordinate need z set to be in range -1, 1

OpenGL clipping space coordinate need z set to be in range -1, 1

But I see the code in OpenGLDevice.cpp


// Set to same values as in DX11, as for the time being clip space adjustment are done entirely
	// in HLSLCC-generated shader code and OpenGLDrv.
	GMinClipZ = 0.0f;
	GProjectionSignY = 1.0f;

it will do nothing when call


inline FMatrix AdjustProjectionMatrixForRHI(const FMatrix& InProjectionMatrix)
{
	FScaleMatrix ClipSpaceFixScale(FVector(1.0f, GProjectionSignY, 1.0f - GMinClipZ));
	FTranslationMatrix ClipSpaceFixTranslate(FVector(0.0f, 0.0f, GMinClipZ));	
	return InProjectionMatrix * ClipSpaceFixScale * ClipSpaceFixTranslate;
}

function.

I don’t know how HLSLCC-generated shader code and OpenGLDrv will handle the clipping space z range problems of OpenGL.
Hope someone will tell me how.

Thank you.