diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-03-29 03:59:34 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-03-29 03:59:34 +0000 |
commit | 519a2e7cb7b8f026bd5fe711cdf12a20df1c46ae (patch) | |
tree | 3a5ace19786c23d217f9ed64fdad20e2726f3e53 /src/mesa/main/mtypes.h | |
parent | b687531f693548afc6d7cf7b5c6fb76926cc0dc9 (diff) |
Move the computation of the viewport matrix into a new update_viewport_matrix()
function since the matrix depends on the viewport params and the framebuffer's
depth buffer resolution.
Fixes some renderbuffer / depth range issues.
This simplifies the _mesa_set_viewport() and _mesa_DepthRange() functions too.
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r-- | src/mesa/main/mtypes.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 3eadb33e0f..00b0187846 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2855,7 +2855,6 @@ struct __GLcontextRec GLfloat _ModelViewInvScale; GLboolean _NeedEyeCoords; GLboolean _ForceEyeCoords; - GLboolean _RotateMode; GLenum _CurrentProgram; /* currently executing program */ struct gl_shine_tab *_ShineTable[2]; /**< Active shine tables */ |