Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
RoboGuide
scigl_render
Commits
35f3ae7a
Commit
35f3ae7a
authored
Mar 05, 2019
by
Tim Übelhör
Browse files
deactivate shader after draw
parent
c3c25098
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/render/depth_simulator.cpp
View file @
35f3ae7a
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment