From 76fffd51027820b3a6ea10de2be67d5fd4f3e843 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Fri, 15 May 2009 16:35:13 -0400 Subject: R100: switch to normalized texture coordinates for consistency with the other asics --- src/radeon_exa_render.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/radeon_exa_render.c') 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: -- cgit v1.2.3