summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/ir_to_mesa.cpp
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-01-26 21:16:41 -0700
committerBrian Paul <[email protected]>2011-01-26 21:16:41 -0700
commit7a4345fd83605695dc641af503f6e87b808b48d7 (patch)
tree6744608f6192f2c78e4dfb5ae0f8dc3d4d7203db /src/mesa/program/ir_to_mesa.cpp
parent2b7be12d5467096362073260911a380c64c772d0 (diff)
glsl: use 'this' pointer to be consistent
Diffstat (limited to 'src/mesa/program/ir_to_mesa.cpp')
-rw-r--r--src/mesa/program/ir_to_mesa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp
index 08b624fdb10..404b6c646a7 100644
--- 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,