diff options
author | Dave Airlie <airlied@redhat.com> | 2009-02-17 10:28:43 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-02-17 10:28:43 +1000 |
commit | a365f9b78bb493a5202c9a4985de40979ed42038 (patch) | |
tree | f2096b679fa378a9beb5fc9fa1bfaf4e30872aea /src/mesa/drivers/dri/r200 | |
parent | 646325a5efb3cf4157623d115d6d8fa36f0b357d (diff) |
r200: align with r100 code
Diffstat (limited to 'src/mesa/drivers/dri/r200')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_texstate.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_texstate.c b/src/mesa/drivers/dri/r200/r200_texstate.c index e6aff022b3..eee4475137 100644 --- a/src/mesa/drivers/dri/r200/r200_texstate.c +++ b/src/mesa/drivers/dri/r200/r200_texstate.c @@ -1398,7 +1398,8 @@ static void setup_hardware_state(r200ContextPtr rmesa, radeonTexObj *t) if (t->base.Target == GL_TEXTURE_RECTANGLE_NV) { t->pp_txformat |= R200_TXFORMAT_NON_POWER2; } - + + t->dirty_state = R200_TEX_ALL; } static GLboolean r200_validate_texture(GLcontext *ctx, struct gl_texture_object *texObj, int unit) @@ -1439,8 +1440,6 @@ static GLboolean r200_validate_texture(GLcontext *ctx, struct gl_texture_object rmesa->radeon.NewGLState |= _NEW_TEXTURE_MATRIX; } - t->dirty_state = R200_TEX_ALL; - t->validated = GL_TRUE; FALLBACK( rmesa, RADEON_FALLBACK_BORDER_MODE, t->border_fallback ); |