projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix pow <small> and a very stypid bug with dummy srcs(0 equals to tmp0.x)</small...
[mesa.git]
/
src
/
mesa
/
main
/
api_noop.c
diff --git
a/src/mesa/main/api_noop.c
b/src/mesa/main/api_noop.c
index f42f166ae31508b0eaa296bc0665fee591e1e1d6..af7e1f9ac70e059aff67b0e75bc79ed78416b59d 100644
(file)
--- 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 (
fac
e) {
+ switch (
pnam
e) {
case GL_SHININESS: nr = 1; break;
case GL_COLOR_INDEXES: nr = 3; break;
default: nr = 4 ; break;