summaryrefslogtreecommitdiff
path: root/src/radeon_exa_render.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-05-15 16:35:13 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-05-15 16:35:13 -0400
commit76fffd51027820b3a6ea10de2be67d5fd4f3e843 (patch)
tree410642640aadaa8b6b55adc66144ccad58d94bb1 /src/radeon_exa_render.c
parent1a1eef31e36f98b7a30e27e567c1b66e0e4cf7dc (diff)
R100: switch to normalized texture coordinates
for consistency with the other asics
Diffstat (limited to 'src/radeon_exa_render.c')
-rw-r--r--src/radeon_exa_render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_exa_render.c b/src/radeon_exa_render.c
index 89c803aa..68f95147 100644
--- a/src/radeon_exa_render.c
+++ b/src/radeon_exa_render.c
@@ -395,8 +395,8 @@ static Bool FUNC_NAME(R100TextureSetup)(PicturePtr pPict, PixmapPtr pPix,
txformat |= RADEON_TXFORMAT_NON_POWER2;
txformat |= unit << 24; /* RADEON_TXFORMAT_ST_ROUTE_STQX */
- info->accel_state->texW[unit] = 1;
- info->accel_state->texH[unit] = 1;
+ info->accel_state->texW[unit] = w;
+ info->accel_state->texH[unit] = h;
switch (pPict->filter) {
case PictFilterNearest: