diff options
author | Dave Airlie <airlied@redhat.com> | 2009-02-17 10:27:45 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-02-17 10:27:45 +1000 |
commit | 646325a5efb3cf4157623d115d6d8fa36f0b357d (patch) | |
tree | 90aa1765b3c367526d1f89298912cf3f856fa7d7 /src/mesa/drivers/dri/radeon | |
parent | 0a8cba9a65e6ec1159a08725d2101e7eabb4526b (diff) |
radeon: fix not emitting texture state correctly
this is whole texture dirty bit is probably not needed with the current
codebase, need to revisit
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_texstate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_texstate.c b/src/mesa/drivers/dri/radeon/radeon_texstate.c index 0dc355723e..2aa1a83342 100644 --- a/src/mesa/drivers/dri/radeon/radeon_texstate.c +++ b/src/mesa/drivers/dri/radeon/radeon_texstate.c @@ -973,6 +973,8 @@ static GLboolean setup_hardware_state(r100ContextPtr rmesa, radeonTexObj *t, int if (t->base.Target == GL_TEXTURE_RECTANGLE_NV) { t->pp_txformat |= RADEON_TXFORMAT_NON_POWER2; } + + t->dirty_state = R100_TEX_ALL; return GL_TRUE; } |