diff options
author | Luca Barbieri <luca@luca-barbieri.com> | 2010-08-06 11:08:45 +0200 |
---|---|---|
committer | Luca Barbieri <luca@luca-barbieri.com> | 2010-08-11 16:27:57 +0200 |
commit | deb809ec98664257ed215e75554e1a80c149c851 (patch) | |
tree | ce0b2185e740bb07f87be1434c18484da9baa7fb /bin/config.sub | |
parent | 10ce6779e8a64c33add70e440f885c210f3fa6ee (diff) |
auxiliary: fix util_framebuffer_copy
util_framebuffer_copy was attempting to copy all elements of the
source framebuffer state.
However, this breaks if the user does not zero initialize the structure.
Instead, only copy the elements up to nr_cbufs, and clear elements up
to dst->nr_cbufs, if the destination was larger than the source.
Diffstat (limited to 'bin/config.sub')
0 files changed, 0 insertions, 0 deletions