r200: Don't use driIsTextureResident helper
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 28 Oct 2011 21:04:35 +0000 (17:04 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 2 Nov 2011 15:16:03 +0000 (11:16 -0400)
With DRI2, textures are always resident and using the DRI texmem helper
here is broken anyway, since nothing else uses it.

src/mesa/drivers/dri/r200/r200_tex.c

index 2be8390ab562f89e39f8ca4f0655bb62c9ba2ac3..fe7c977ac4e6c13038305d9a654c50de0bc76a35 100644 (file)
@@ -502,7 +502,6 @@ void r200InitTextureFuncs( radeonContextPtr radeon, struct dd_function_table *fu
    functions->NewTextureObject         = r200NewTextureObject;
    //   functions->BindTexture         = r200BindTexture;
    functions->DeleteTexture            = r200DeleteTexture;
-   functions->IsTextureResident                = driIsTextureResident;
 
    functions->TexEnv                   = r200TexEnv;
    functions->TexParameter             = r200TexParameter;