mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
glsl: use 'this' pointer to be consistent
This commit is contained in:
parent
2b7be12d54
commit
7a4345fd83
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue