summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2019-06-18 17:49:49 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2019-06-18 17:49:49 +0200
commitfb3479aff259899eadc99a75de2474e3b9dbb0a9 (patch)
tree9aa40aa79c3336504bc2c29f16bde9952de90c3b /src/drivers
parent23484c30a9126dcda3f589cd63e3fe2ec8b41c98 (diff)
Avoid "uninitialized memory" error in gl_draw
As discussed in fltk.general, valgrind reported errors when gl_draw() is called and the text is converted to a texture (i.e. when testing whether the texture already exists). We need a length check to make sure we don't overrun text buffers. See threads "gl_draw" and "gl_draw - [General Use]", respectively, started on Jun 19, 2019.
Diffstat (limited to 'src/drivers')
0 files changed, 0 insertions, 0 deletions