diff options
author | Dennis Kasprzyk <onestone@opencompositing.org> | 2008-07-31 19:50:49 +0200 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2008-08-25 06:23:51 -0400 |
commit | c370b74bec13194573348583c38adf710b880e79 (patch) | |
tree | 5803fa743ca87155b3f0e682fcf49eeb4f440522 /src | |
parent | 5e85d5a5d0c50b29086ec0c219c8b52d25dbc2e9 (diff) |
Set helper texture filter correctly.
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_textured_videofuncs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_textured_videofuncs.c b/src/radeon_textured_videofuncs.c index 51e86aee..f197c0aa 100644 --- a/src/radeon_textured_videofuncs.c +++ b/src/radeon_textured_videofuncs.c @@ -227,7 +227,7 @@ FUNC_NAME(RADEONDisplayTexturedVideo)(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv /* Tex filter */ txfilter = R300_TX_CLAMP_S(R300_TX_CLAMP_WRAP) | R300_TX_CLAMP_T(R300_TX_CLAMP_WRAP) | - R300_TX_MAG_FILTER_NEAREST | + R300_TX_MIN_FILTER_NEAREST | R300_TX_MAG_FILTER_NEAREST | (1 << R300_TX_ID_SHIFT); @@ -1147,7 +1147,7 @@ FUNC_NAME(RADEONDisplayTexturedVideo)(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv OUT_VIDEO_REG(R500_GA_US_VECTOR_INDEX, (1 << 16)); /* const0 = {1 / texture[0].width, 0, 0, 0} */ - OUT_VIDEO_REG_F(R500_GA_US_VECTOR_DATA, (1.0/(float)pPriv->w)); + OUT_VIDEO_REG_F(R500_GA_US_VECTOR_DATA, (-1.0/(float)pPriv->w)); OUT_VIDEO_REG_F(R500_GA_US_VECTOR_DATA, 0x0); OUT_VIDEO_REG_F(R500_GA_US_VECTOR_DATA, 0x0); OUT_VIDEO_REG_F(R500_GA_US_VECTOR_DATA, 0x0); |