}
/* _NEW_TRANSFORM */
- raster->depth_clip = !ctx->Transform.DepthClamp;
+ raster->depth_clip = !(ctx->Transform.DepthClampNear &&
+ ctx->Transform.DepthClampFar);
raster->clip_plane_enable = ctx->Transform.ClipPlanesEnabled;
raster->clip_halfz = (ctx->Transform.ClipDepthMode == GL_ZERO_TO_ONE);