projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b7be12
)
glsl: use 'this' pointer to be consistent
author
Brian Paul
<brianp@vmware.com>
Thu, 27 Jan 2011 04:16:41 +0000
(21:16 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 27 Jan 2011 04:16:41 +0000
(21:16 -0700)
src/mesa/program/ir_to_mesa.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/program/ir_to_mesa.cpp
b/src/mesa/program/ir_to_mesa.cpp
index 08b624fdb104701a8738d956d8b3e0445893a6c5..404b6c646a714f455c7ff10eb3012786d8a785d5 100644
(file)
--- a/
src/mesa/program/ir_to_mesa.cpp
+++ b/
src/mesa/program/ir_to_mesa.cpp
@@
-1499,7
+1499,7
@@
ir_to_mesa_visitor::visit(ir_dereference_variable *ir)
var->location);
if (this->prog->Target == GL_VERTEX_PROGRAM_ARB &&
var->location >= VERT_ATTRIB_GENERIC0) {
- _mesa_add_attribute(prog->Attributes,
+ _mesa_add_attribute(
this->
prog->Attributes,
var->name,
_mesa_sizeof_glsl_type(var->type->gl_type),
var->type->gl_type,