diff options
author | David Thompson <dthompson@member.fsf.org> | 2014-03-30 20:50:52 -0400 |
---|---|---|
committer | David Thompson <dthompson@member.fsf.org> | 2014-03-30 20:50:52 -0400 |
commit | 4a5a9fed0841eee5cf1a52074d57af0cffdc45a4 (patch) | |
tree | 2ffa841dce6f63e76a4f0df16d8135005d507b45 /examples/common.scm | |
parent | 68cfa46618e61a34b1061638d76a639a9b9d5f81 (diff) |
Fix crash when the empty string is used for a label.
* 2d/font.scm (render-text): Bail when surface is #f.
(make-label): Don't make vertices when there is no texture.
(draw-label): Don't draw when there is no texture.
Diffstat (limited to 'examples/common.scm')
0 files changed, 0 insertions, 0 deletions