diff options
author | Patrice Mandin <[email protected]> | 2007-09-06 22:33:22 +0200 |
---|---|---|
committer | Patrice Mandin <[email protected]> | 2007-09-06 22:33:22 +0200 |
commit | 15a6bf9118937e1e705e64e36fbceafbb3ad70ed (patch) | |
tree | 1d4a37f80220433b09556b371b45cca8c241917a /src/mesa | |
parent | 7307ff80c9141aa9730c17f500e99d3d983840b8 (diff) |
nouveau: init depth range
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nouveau_state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_state.c b/src/mesa/drivers/dri/nouveau/nouveau_state.c index 1cfcc314865..e2f9fb869a1 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_state.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_state.c @@ -296,6 +296,7 @@ void nouveauInitState(GLcontext *ctx) STATE_INIT(CullFace)( ctx, ctx->Polygon.CullFaceMode ); STATE_INIT(DepthFunc)( ctx, ctx->Depth.Func ); STATE_INIT(DepthMask)( ctx, ctx->Depth.Mask ); + STATE_INIT(DepthRange)( ctx, ctx->Viewport.Near, ctx->Viewport.Far ); STATE_INIT(Enable)( ctx, GL_ALPHA_TEST, ctx->Color.AlphaEnabled ); STATE_INIT(Enable)( ctx, GL_BLEND, ctx->Color.BlendEnabled ); |