summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2009-02-02 12:26:04 +1000
committerDave Airlie <[email protected]>2009-02-02 12:26:04 +1000
commitf4dfafd50acdff994b16946773cbfbefdc172f3e (patch)
treeafbaa50bc070021fa0d76ae978899e7ea0488573 /src/mesa/drivers
parentf68a61d88398fe8eb3eb41b929dcb4483354a81e (diff)
r300: rename validate textures to validate buffers
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/r300/r300_render.c2
-rw-r--r--src/mesa/drivers/dri/r300/r300_swtcl.c2
-rw-r--r--src/mesa/drivers/dri/r300/r300_tex.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_render.c b/src/mesa/drivers/dri/r300/r300_render.c
index 3b00de2b562..8db22b777f1 100644
--- a/src/mesa/drivers/dri/r300/r300_render.c
+++ b/src/mesa/drivers/dri/r300/r300_render.c
@@ -501,7 +501,7 @@ static GLboolean r300RunTCLRender(GLcontext * ctx,
return GL_TRUE;
}
- if (!r300ValidateTextures(ctx))
+ if (!r300ValidateBuffers(ctx))
return GL_TRUE;
r300UpdateShaders(rmesa);
diff --git a/src/mesa/drivers/dri/r300/r300_swtcl.c b/src/mesa/drivers/dri/r300/r300_swtcl.c
index 73e3c51b9a7..98208cd77e6 100644
--- a/src/mesa/drivers/dri/r300/r300_swtcl.c
+++ b/src/mesa/drivers/dri/r300/r300_swtcl.c
@@ -501,7 +501,7 @@ static void r300RenderStart(GLcontext *ctx)
r300ChooseRenderState(ctx);
r300SetVertexFormat(ctx);
- r300ValidateTextures(ctx);
+ r300ValidateBuffers(ctx);
r300UpdateShaders(rmesa);
r300UpdateShaderStates(rmesa);
diff --git a/src/mesa/drivers/dri/r300/r300_tex.h b/src/mesa/drivers/dri/r300/r300_tex.h
index a293ccf02ca..c4f42ee621c 100644
--- a/src/mesa/drivers/dri/r300/r300_tex.h
+++ b/src/mesa/drivers/dri/r300/r300_tex.h
@@ -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);