From 0970787228ce3ab540980d8b072b9bd5fb62a617 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Wed, 14 Dec 2005 09:31:25 +0000 Subject: Fix typo. --- src/mesa/main/api_noop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main') diff --git a/src/mesa/main/api_noop.c b/src/mesa/main/api_noop.c index f42f166ae3..af7e1f9ac7 100644 --- a/src/mesa/main/api_noop.c +++ b/src/mesa/main/api_noop.c @@ -575,7 +575,7 @@ void GLAPIENTRY _mesa_noop_Materialfv( GLenum face, GLenum pname, const GLfloat if (bitmask == 0) return; - switch (face) { + switch (pname) { case GL_SHININESS: nr = 1; break; case GL_COLOR_INDEXES: nr = 3; break; default: nr = 4 ; break; -- cgit v1.2.3