[Bf-blender-cvs] [106c6db1b56] tmp-workbench-rewrite2: fix ssbo binding
Miguel Pozo
noreply at git.blender.org
Thu Oct 6 20:42:10 CEST 2022
Commit: 106c6db1b569311768b9940f9b6be17bee7277c3
Author: Miguel Pozo
Date: Thu Oct 6 20:08:47 2022 +0200
Branches: tmp-workbench-rewrite2
https://developer.blender.org/rB106c6db1b569311768b9940f9b6be17bee7277c3
fix ssbo binding
===================================================================
M source/blender/draw/engines/workbench/workbench_engine.cc
===================================================================
diff --git a/source/blender/draw/engines/workbench/workbench_engine.cc b/source/blender/draw/engines/workbench/workbench_engine.cc
index 9069ec2dc34..b09949b53a3 100644
--- a/source/blender/draw/engines/workbench/workbench_engine.cc
+++ b/source/blender/draw/engines/workbench/workbench_engine.cc
@@ -336,7 +336,7 @@ class MeshPass : public PassMain {
this->PassMain::init();
this->state_set(state);
this->bind_texture(WB_MATCAP_SLOT, resources.matcap_tx);
- this->bind_ssbo(WB_MATERIAL_SLOT, resources.material_buf);
+ this->bind_ssbo(WB_MATERIAL_SLOT, &resources.material_buf);
this->bind_ubo(WB_WORLD_SLOT, resources.world_buf);
color_type_ = color_type;
More information about the Bf-blender-cvs
mailing list