mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-25 11:30:29 +01:00
nouveau: init depth range
This commit is contained in:
parent
7307ff80c9
commit
15a6bf9118
1 changed files with 1 additions and 0 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue