summaryrefslogtreecommitdiffstats
path: root/opengl.c
diff options
context:
space:
mode:
authorRichard Grenville <[email protected]>2013-04-27 11:43:11 +0800
committerRichard Grenville <[email protected]>2013-04-27 11:43:11 +0800
commit5775cefe97e12c7786871b5efc4e3658c97309e5 (patch)
tree89cb72b97b21987fe2faa948c640fc21f769a510 /opengl.c
parent74d91eb38534746efa0b21f2244ba6b41e5440ba (diff)
downloadtdebase-5775cefe97e12c7786871b5efc4e3658c97309e5.tar.gz
tdebase-5775cefe97e12c7786871b5efc4e3658c97309e5.zip
Improvement: --resize-damage
- Add --resize-damage to enlarge/shrink repaint region by a specific number of pixels, used for solving the line corruption issue with blur. Thanks to Nuck and jerri in #104 for reporting. - Fix the memory leak of blur shader string.
Diffstat (limited to 'opengl.c')
-rw-r--r--opengl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/opengl.c b/opengl.c
index 8fb4e153e..4d6d65947 100644
--- a/opengl.c
+++ b/opengl.c
@@ -246,6 +246,7 @@ glx_init_blur(session_t *ps) {
#endif
}
ps->glx_frag_shader_blur = glx_create_shader(GL_FRAGMENT_SHADER, shader_str);
+ free(shader_str);
}
if (!ps->glx_frag_shader_blur) {