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/r200 | |
parent | ed8340192ef88bd841966aba10d0043b246805bd (diff) |
radeon/r200: fix set tex offset functions
Diffstat (limited to 'src/mesa/drivers/dri/r200')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_texstate.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_texstate.c b/src/mesa/drivers/dri/r200/r200_texstate.c index e47c7cc0ca..e6aff022b3 100644 --- a/src/mesa/drivers/dri/r200/r200_texstate.c +++ b/src/mesa/drivers/dri/r200/r200_texstate.c @@ -733,13 +733,11 @@ void r200SetTexOffset(__DRIcontext * pDRICtx, GLint texname, r200ContextPtr 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) return; - t = (radeonTexObjPtr) tObj->DriverData; - t->image_override = GL_TRUE; if (!offset) |