diff options
author | Richard Grenville <[email protected]> | 2013-04-27 11:43:11 +0800 |
---|---|---|
committer | Richard Grenville <[email protected]> | 2013-04-27 11:43:11 +0800 |
commit | 5775cefe97e12c7786871b5efc4e3658c97309e5 (patch) | |
tree | 89cb72b97b21987fe2faa948c640fc21f769a510 /opengl.c | |
parent | 74d91eb38534746efa0b21f2244ba6b41e5440ba (diff) | |
download | tdebase-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) { |