summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/nouveau
diff options
context:
space:
mode:
authorPatrice Mandin <pmandin@freedesktop.org>2006-11-21 21:15:49 +0000
committerPatrice Mandin <pmandin@freedesktop.org>2006-11-21 21:15:49 +0000
commitac09b567a8257960677be742cc92e3c9a4bd0fc7 (patch)
treeb3fa969293332125858cf72a2701f45dacb91a5c /src/mesa/drivers/dri/nouveau
parent677666eb70faea6ac30d69f99f2c4b776e9954bf (diff)
nv10,nv20: nvX0ShadeModel static function
Diffstat (limited to 'src/mesa/drivers/dri/nouveau')
-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 fe2d971a9f..e99824814f 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 bffca44547..338cfd43b0 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);