[Mesa-dev] [PATCH 23/27] r200: Don't use driIsTextureResident helper

Kristian Høgsberg krh at bitplanet.net
Fri Oct 28 15:11:53 PDT 2011


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 |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/r200/r200_tex.c b/src/mesa/drivers/dri/r200/r200_tex.c
index 2be8390..fe7c977 100644
--- a/src/mesa/drivers/dri/r200/r200_tex.c
+++ b/src/mesa/drivers/dri/r200/r200_tex.c
@@ -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;
-- 
1.7.7



More information about the mesa-dev mailing list