summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorPatrice Mandin <[email protected]>2006-11-21 21:15:49 +0000
committerPatrice Mandin <[email protected]>2006-11-21 21:15:49 +0000
commitac09b567a8257960677be742cc92e3c9a4bd0fc7 (patch)
treeb3fa969293332125858cf72a2701f45dacb91a5c /src/mesa
parent677666eb70faea6ac30d69f99f2c4b776e9954bf (diff)
nv10,nv20: nvX0ShadeModel static function
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/nouveau/nv10_state.c2
-rw-r--r--src/mesa/drivers/dri/nouveau/nv20_state.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv10_state.c b/src/mesa/drivers/dri/nouveau/nv10_state.c
index fe2d971a9fc..e99824814f1 100644
--- a/src/mesa/drivers/dri/nouveau/nv10_state.c
+++ b/src/mesa/drivers/dri/nouveau/nv10_state.c
@@ -460,7 +460,7 @@ void (*RenderMode)(GLcontext *ctx, GLenum mode );
void (*Scissor)(GLcontext *ctx, GLint x, GLint y, GLsizei w, GLsizei h);
/** Select flat or smooth shading */
-void nv10ShadeModel(GLcontext *ctx, GLenum mode)
+static void nv10ShadeModel(GLcontext *ctx, GLenum mode)
{
nouveauContextPtr nmesa = NOUVEAU_CONTEXT(ctx);
diff --git a/src/mesa/drivers/dri/nouveau/nv20_state.c b/src/mesa/drivers/dri/nouveau/nv20_state.c
index bffca445472..338cfd43b01 100644
--- a/src/mesa/drivers/dri/nouveau/nv20_state.c
+++ b/src/mesa/drivers/dri/nouveau/nv20_state.c
@@ -470,7 +470,7 @@ void (*RenderMode)(GLcontext *ctx, GLenum mode );
void (*Scissor)(GLcontext *ctx, GLint x, GLint y, GLsizei w, GLsizei h);
/** Select flat or smooth shading */
-void nv20ShadeModel(GLcontext *ctx, GLenum mode)
+static void nv20ShadeModel(GLcontext *ctx, GLenum mode)
{
nouveauContextPtr nmesa = NOUVEAU_CONTEXT(ctx);