Fix typo.
authorKeith Whitwell <keith@tungstengraphics.com>
Wed, 14 Dec 2005 09:31:25 +0000 (09:31 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Wed, 14 Dec 2005 09:31:25 +0000 (09:31 +0000)
src/mesa/main/api_noop.c

index f42f166ae31508b0eaa296bc0665fee591e1e1d6..af7e1f9ac70e059aff67b0e75bc79ed78416b59d 100644 (file)
@@ -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;