diff options
author | Dave Airlie <airlied@redhat.com> | 2009-02-13 23:29:27 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-02-13 23:29:27 +1000 |
commit | f363a97d2586a8487bfa64f882fbfc204a56fd05 (patch) | |
tree | fbe9dfd89e067bdb0c52ff0e486976ee1dfada7c /src/mesa/drivers/dri/radeon/radeon_texstate.c | |
parent | ed8340192ef88bd841966aba10d0043b246805bd (diff) |
radeon/r200: fix set tex offset functions
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_texstate.c')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_texstate.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_texstate.c b/src/mesa/drivers/dri/radeon/radeon_texstate.c index cabac6c13d..2e064cf097 100644 --- a/src/mesa/drivers/dri/radeon/radeon_texstate.c +++ b/src/mesa/drivers/dri/radeon/radeon_texstate.c @@ -605,13 +605,11 @@ void radeonSetTexOffset(__DRIcontext * pDRICtx, GLint texname, r100ContextPtr rmesa = pDRICtx->driverPrivate; struct gl_texture_object *tObj = _mesa_lookup_texture(rmesa->radeon.glCtx, texname); - radeonTexObjPtr t; + radeonTexObjPtr t = radeon_tex_obj(tObj); if (tObj == NULL) return; - t = (radeonTexObjPtr) tObj->DriverData; - t->image_override = GL_TRUE; if (!offset) |