summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2009-11-27 17:40:24 +0100
committerRoland Scheidegger <[email protected]>2009-11-27 17:40:24 +0100
commitb748a9f574361273df6b05c06c647ac4fd9b3e41 (patch)
tree0ca1854cb84b5ae3d5d541873f2f937beb4ddd58 /src/gallium/drivers/r300
parentc95cbd45c657ac47e908a4d99d118737034bde43 (diff)
r300g,llvmpipe: fix some more merge problems
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r--src/gallium/drivers/r300/r300_emit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c
index e6ab8e4af14..98a39390bf9 100644
--- a/src/gallium/drivers/r300/r300_emit.c
+++ b/src/gallium/drivers/r300/r300_emit.c
@@ -145,8 +145,8 @@ static const float * get_shader_constant(
* normalized coords. Should only show up on non-r500. */
case RC_STATE_R300_TEXRECT_FACTOR:
tex = &r300->textures[constant->u.State[1]]->tex;
- vec[0] = 1.0 / tex->width[0];
- vec[1] = 1.0 / tex->height[0];
+ vec[0] = 1.0 / tex->width0;
+ vec[1] = 1.0 / tex->height0;
break;
default: