projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94f9447
)
fix typo
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 5 Sep 2003 19:34:25 +0000
(19:34 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 5 Sep 2003 19:34:25 +0000
(19:34 +0000)
src/mesa/main/program.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/program.c
b/src/mesa/main/program.c
index e7a3ed9f595b3e0a609497735a4ea8212b1dcaf9..0d1a53c76163551e55c3030f37eadb80a5df95bb 100644
(file)
--- a/
src/mesa/main/program.c
+++ b/
src/mesa/main/program.c
@@
-1133,7
+1133,7
@@
_mesa_GetProgramRegisterfvMESA(GLenum target,
/* try user-defined identifiers */
const GLfloat *value = _mesa_lookup_parameter_value(
ctx->FragmentProgram.Current->Parameters, -1, reg);
- if (
reg
) {
+ if (
value
) {
COPY_4V(v, value);
}
else {