diff options
author | Keith Whitwell <keithw@vmware.com> | 2010-05-30 13:26:36 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2010-06-07 16:34:55 +0100 |
commit | ac7c8f7dd3649507f6a5dc4d5222124dd954cbfd (patch) | |
tree | 63937e3da93a2c2ed847972933c821e3b7f245e5 /src/gallium/drivers/nvfx/nvfx_fragtex.c | |
parent | 69faf5b48fde9d89b554c75fba7b431ddcd591da (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/drivers/nvfx/nvfx_fragtex.c')
0 files changed, 0 insertions, 0 deletions