aboutsummaryrefslogtreecommitdiff
path: root/utility/opengl.py
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-06-19 22:01:57 +0200
committerAdrian Kummerlaender2020-06-19 22:01:57 +0200
commita3ac409a49803956986f4cab35a1f90f8d4b8e81 (patch)
tree2b466984aa49ae02507c48b9b892b4998dd9f98a /utility/opengl.py
parent5d883c9ad99553bbf8a3e3673db2cdd27927d5f8 (diff)
downloadsymlbm_playground-a3ac409a49803956986f4cab35a1f90f8d4b8e81.tar
symlbm_playground-a3ac409a49803956986f4cab35a1f90f8d4b8e81.tar.gz
symlbm_playground-a3ac409a49803956986f4cab35a1f90f8d4b8e81.tar.bz2
symlbm_playground-a3ac409a49803956986f4cab35a1f90f8d4b8e81.tar.lz
symlbm_playground-a3ac409a49803956986f4cab35a1f90f8d4b8e81.tar.xz
symlbm_playground-a3ac409a49803956986f4cab35a1f90f8d4b8e81.tar.zst
symlbm_playground-a3ac409a49803956986f4cab35a1f90f8d4b8e81.zip
Use lattice-internal moments buffer for particles
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)