summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/trace/trace.xsl
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-08-06 11:08:45 +0200
committerLuca Barbieri <luca@luca-barbieri.com>2010-08-11 16:27:57 +0200
commitdeb809ec98664257ed215e75554e1a80c149c851 (patch)
treece0b2185e740bb07f87be1434c18484da9baa7fb /src/gallium/drivers/trace/trace.xsl
parent10ce6779e8a64c33add70e440f885c210f3fa6ee (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 'src/gallium/drivers/trace/trace.xsl')
0 files changed, 0 insertions, 0 deletions