Commit 35f3ae7a authored by Tim Übelhör's avatar Tim Übelhör

deactivate shader after draw

parent c3c25098
......@@ -48,5 +48,6 @@ void DepthSimulator::render_pose(const QuaternionPose &object_pose,
model.pose = object_pose;
depth_shader.activate();
model.draw(depth_shader);
depth_shader.deactivate();
}
} // namespace scigl_render
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment