summaryrefslogtreecommitdiff
path: root/src/glwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glwidget.cpp')
-rwxr-xr-xsrc/glwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glwidget.cpp b/src/glwidget.cpp
index 57b4468..6466e24 100755
--- a/src/glwidget.cpp
+++ b/src/glwidget.cpp
@@ -244,7 +244,7 @@ void GLWidget::paintCaustics() {
// glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
- glBindFramebuffer(GL_FRAMEBUFFER, m_fbo_texture);
+ glBindFramebuffer(GL_FRAMEBUFFER, m_fbo);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable( GL_BLEND );