projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3248575
)
mesa: pass correct constant type to _mesa_fetch_state()
author
Brian Paul
<brianp@vmware.com>
Thu, 4 Aug 2011 22:01:27 +0000
(16:01 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 4 Aug 2011 22:02:08 +0000
(16:02 -0600)
Fixes assorted warnings about float vs. gl_constant_value pointers.
src/mesa/program/prog_statevars.c
patch
|
blob
|
history
diff --git
a/src/mesa/program/prog_statevars.c
b/src/mesa/program/prog_statevars.c
index 16f9690e8659746d6428b6f7ec528481ae9754a4..6aa2409e85eed0e8d731a4da0e7a5eaff32a1c18 100644
(file)
--- a/
src/mesa/program/prog_statevars.c
+++ b/
src/mesa/program/prog_statevars.c
@@
-1111,7
+1111,7
@@
_mesa_load_state_parameters(struct gl_context *ctx,
if (paramList->Parameters[i].Type == PROGRAM_STATE_VAR) {
_mesa_fetch_state(ctx,
paramList->Parameters[i].StateIndexes,
-
paramList->ParameterValues[i]
);
+
¶mList->ParameterValues[i][0].f
);
}
}
}