summaryrefslogtreecommitdiff
path: root/src/i965_render.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2008-10-22 16:17:39 -0700
committerCarl Worth <cworth@cworth.org>2008-10-22 16:17:39 -0700
commit4d5360b1f3666bca4ed44c7f1b9217b8157c74b9 (patch)
tree5e382b57f7710812fae14038d46cefb2bf09e631 /src/i965_render.c
parent36fc53d068673497e77796ba69e010d08c359447 (diff)
Use consistent idiom for obtaining static_state
This doesn't make any difference, but it's cleaner to have each function follow the same idiom for obtaining these pointers.
Diffstat (limited to 'src/i965_render.c')
-rw-r--r--src/i965_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i965_render.c b/src/i965_render.c
index 9d2896a1..a9d7f66c 100644
--- a/src/i965_render.c
+++ b/src/i965_render.c
@@ -1287,8 +1287,8 @@ i965_composite(PixmapPtr pDst, int srcX, int srcY, int maskX, int maskY,
{
ScrnInfoPtr pScrn = xf86Screens[pDst->drawable.pScreen->myNum];
I830Ptr pI830 = I830PTR(pScrn);
- gen4_static_state_t *static_state = pI830->gen4_render_state->static_state;
struct gen4_render_state *render_state = pI830->gen4_render_state;
+ gen4_static_state_t *static_state = render_state->static_state;
Bool has_mask;
Bool is_affine_src, is_affine_mask, is_affine;
float src_x[3], src_y[3], src_w[3], mask_x[3], mask_y[3], mask_w[3];