projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: Switch memcpy fast-path of glGetTexImage() to using MapTextureImage().
[mesa.git]
/
src
/
glsl
/
lower_texture_projection.cpp
diff --git
a/src/glsl/lower_texture_projection.cpp
b/src/glsl/lower_texture_projection.cpp
index 1fd26a7a2b5d1f65dff9670441ac868912a8aa09..6e3aaecceee49096513dae9183775ea7da83a18a 100644
(file)
--- a/
src/glsl/lower_texture_projection.cpp
+++ b/
src/glsl/lower_texture_projection.cpp
@@
-55,7
+55,7
@@
lower_texture_projection_visitor::visit_leave(ir_texture *ir)
if (!ir->projector)
return visit_continue;
if (!ir->projector)
return visit_continue;
- void *mem_ctx =
t
alloc_parent(ir);
+ void *mem_ctx =
r
alloc_parent(ir);
ir_variable *var = new(mem_ctx) ir_variable(ir->projector->type,
"projector", ir_var_auto);
ir_variable *var = new(mem_ctx) ir_variable(ir->projector->type,
"projector", ir_var_auto);