diff options
author | Marek Olšák <[email protected]> | 2012-04-10 21:29:06 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-04-24 01:39:21 +0200 |
commit | a52b3338c6e51421e3836ae210cd98d9c1ec337b (patch) | |
tree | 0b9d312f88760bbdc91bdd3e9d48195bfde6dce0 /src/gallium/drivers/r300/r300_emit.c | |
parent | 7d36478d888accd18d55cc76ba41af0ad7d3baf8 (diff) |
u_vbuf: remove u_vbuf_resource
Diffstat (limited to 'src/gallium/drivers/r300/r300_emit.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_emit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c index 467339f6a62..4c0daa6c56d 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -120,9 +120,9 @@ static void get_rc_constant_state( case RC_STATE_R300_TEXSCALE_FACTOR: tex = r300_resource(texstate->sampler_views[constant->u.State[1]]->base.texture); /* Add a small number to the texture size to work around rounding errors in hw. */ - vec[0] = tex->b.b.b.width0 / (tex->tex.width0 + 0.001f); - vec[1] = tex->b.b.b.height0 / (tex->tex.height0 + 0.001f); - vec[2] = tex->b.b.b.depth0 / (tex->tex.depth0 + 0.001f); + vec[0] = tex->b.b.width0 / (tex->tex.width0 + 0.001f); + vec[1] = tex->b.b.height0 / (tex->tex.height0 + 0.001f); + vec[2] = tex->b.b.depth0 / (tex->tex.depth0 + 0.001f); vec[3] = 1; break; |