r300: rename validate textures to validate buffers
authorDave Airlie <airlied@redhat.com>
Mon, 2 Feb 2009 02:26:04 +0000 (12:26 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 2 Feb 2009 02:26:04 +0000 (12:26 +1000)
src/mesa/drivers/dri/r300/r300_render.c
src/mesa/drivers/dri/r300/r300_swtcl.c
src/mesa/drivers/dri/r300/r300_tex.h

index 3b00de2b5624d8d05e34913af4eaf516d8955ab8..8db22b777f10da0bbddca2ce32c72a6238f2a43b 100644 (file)
@@ -501,7 +501,7 @@ static GLboolean r300RunTCLRender(GLcontext * ctx,
                return GL_TRUE;
        }
 
-       if (!r300ValidateTextures(ctx))
+       if (!r300ValidateBuffers(ctx))
            return GL_TRUE;
        
        r300UpdateShaders(rmesa);
index 73e3c51b9a7e0b4c2e29e3267bb8392ad5f78993..98208cd77e65e0a0a9a9157fb6e071ed9dd69e4d 100644 (file)
@@ -501,7 +501,7 @@ static void r300RenderStart(GLcontext *ctx)
        r300ChooseRenderState(ctx);
        r300SetVertexFormat(ctx);
 
-       r300ValidateTextures(ctx);
+       r300ValidateBuffers(ctx);
 
        r300UpdateShaders(rmesa);
        r300UpdateShaderStates(rmesa);
index a293ccf02cacb0a05bfc48c829e6d39dd4210677..c4f42ee621c2532ed7c9f18fe5990043134a695b 100644 (file)
@@ -41,7 +41,7 @@ extern void r300SetTexOffset(__DRIcontext *pDRICtx, GLint texname,
                             unsigned long long offset, GLint depth,
                             GLuint pitch);
 
-extern GLboolean r300ValidateTextures(GLcontext * ctx);
+extern GLboolean r300ValidateBuffers(GLcontext * ctx);
 
 extern void r300InitTextureFuncs(struct dd_function_table *functions);