diff options
author | Keith Whitwell <[email protected]> | 2005-12-14 09:31:25 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2005-12-14 09:31:25 +0000 |
commit | 0970787228ce3ab540980d8b072b9bd5fb62a617 (patch) | |
tree | 59e0a86d6a99fb0ea1c3bbf1c951ad29aff3e1ba /src/mesa/main/api_noop.c | |
parent | c8d1741b78eda547762b35a6e4dea7ccb563ffa5 (diff) |
Fix typo.
Diffstat (limited to 'src/mesa/main/api_noop.c')
-rw-r--r-- | src/mesa/main/api_noop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/api_noop.c b/src/mesa/main/api_noop.c index f42f166ae31..af7e1f9ac70 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; |