aboutsummaryrefslogtreecommitdiff
path: root/evs/app/RenderDirectView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'evs/app/RenderDirectView.cpp')
-rw-r--r--evs/app/RenderDirectView.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/evs/app/RenderDirectView.cpp b/evs/app/RenderDirectView.cpp
index 24eb4854ab..f0d26e404e 100644
--- a/evs/app/RenderDirectView.cpp
+++ b/evs/app/RenderDirectView.cpp
@@ -133,6 +133,9 @@ bool RenderDirectView::drawFrame(const BufferDesc& tgtBuffer) {
glDisableVertexAttribArray(1);
+ // Now that everything is submitted, release our hold on the texture resource
+ detachRenderTarget();
+
// Wait for the rendering to finish
glFinish();