summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_blitter.c
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-05-30 13:26:36 +0100
committerKeith Whitwell <keithw@vmware.com>2010-06-07 16:34:55 +0100
commitac7c8f7dd3649507f6a5dc4d5222124dd954cbfd (patch)
tree63937e3da93a2c2ed847972933c821e3b7f245e5 /src/gallium/auxiliary/util/u_blitter.c
parent69faf5b48fde9d89b554c75fba7b431ddcd591da (diff)
util: allocate larger tmp_row in util_format_translate
The tmp_row storage allocation took into account the format's y block size by allocating y_step rows of data. However, the x block size was not being taken into account when deciding how wide those rows need to be. Now make sure that tmp_row is at least x_step by y_step in size.
Diffstat (limited to 'src/gallium/auxiliary/util/u_blitter.c')
0 files changed, 0 insertions, 0 deletions