aboutsummaryrefslogtreecommitdiff
path: root/utility/opengl.py
diff options
context:
space:
mode:
Diffstat (limited to 'utility/opengl.py')
-rw-r--r--utility/opengl.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/utility/opengl.py b/utility/opengl.py
index e201e29..1037cbd 100644
--- a/utility/opengl.py
+++ b/utility/opengl.py
@@ -123,6 +123,7 @@ class MomentsTexture:
self.lattice.grid.size(),
self.lattice.layout,
self.lattice.memory.cl_pop_b,
+ self.lattice.memory.cl_material,
self.cl_gl_moments)
else:
self.program.collect_gl_moments_to_texture(
@@ -130,5 +131,6 @@ class MomentsTexture:
self.lattice.grid.size(),
self.lattice.layout,
self.lattice.memory.cl_pop_a,
+ self.lattice.memory.cl_material,
self.cl_gl_moments)