diff options
author | Brian Paul <[email protected]> | 2005-09-10 00:10:15 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-09-10 00:10:15 +0000 |
commit | 402b2bea640ebf69f78d8122f98435dd3bbeb7df (patch) | |
tree | bd0ffe2eb7b4e95108208aabf6383e2fa73fd327 /src/mesa/drivers/dri/i915/i830_state.c | |
parent | 036a99452d26167b70cadafb97b7e77ebdafd78c (diff) |
Add offset and pitch fields to intelRegion. Remove frontOffset, frontPitch,
backOffset, backPitch, depthOffset, depthPitch, textureOffset fields.
Diffstat (limited to 'src/mesa/drivers/dri/i915/i830_state.c')
-rw-r--r-- | src/mesa/drivers/dri/i915/i830_state.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i915/i830_state.c b/src/mesa/drivers/dri/i915/i830_state.c index ec19fe980dc..e3f632348b6 100644 --- a/src/mesa/drivers/dri/i915/i830_state.c +++ b/src/mesa/drivers/dri/i915/i830_state.c @@ -1000,16 +1000,16 @@ static void i830_init_packets( i830ContextPtr i830 ) i830->state.Buffer[I830_DESTREG_CBUFADDR0] = _3DSTATE_BUF_INFO_CMD; i830->state.Buffer[I830_DESTREG_CBUFADDR1] = (BUF_3D_ID_COLOR_BACK | - BUF_3D_PITCH(screen->frontPitch * screen->cpp) | + BUF_3D_PITCH(screen->front.pitch * screen->cpp) | BUF_3D_USE_FENCE); i830->state.Buffer[I830_DESTREG_DBUFADDR0] = _3DSTATE_BUF_INFO_CMD; i830->state.Buffer[I830_DESTREG_DBUFADDR1] = (BUF_3D_ID_DEPTH | - BUF_3D_PITCH(screen->depthPitch * screen->cpp) | + BUF_3D_PITCH(screen->depth.pitch * screen->cpp) | BUF_3D_USE_FENCE); - i830->state.Buffer[I830_DESTREG_DBUFADDR2] = screen->depthOffset; + i830->state.Buffer[I830_DESTREG_DBUFADDR2] = screen->depth.offset; i830->state.Buffer[I830_DESTREG_DV0] = _3DSTATE_DST_BUF_VARS_CMD; |