diff options
author | Brian Paul <[email protected]> | 2013-01-21 08:59:25 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-01-22 14:53:58 -0700 |
commit | 728bf86a23f6de137c0871ea87b09e75e55468a9 (patch) | |
tree | c5f55821bd9e9cfbd8e85d659edc0ab0b33d9143 /common.py | |
parent | 0a60ea4ddce3d7e0f07f9a8a94cd712c26401911 (diff) |
swrast: move resampleRow setup code in blit_nearest()
The resampleRow setup depends on pixelSize. For color buffers,
we don't know the pixelSize until we're in the buffer loop. Move
that code inside the loop.
Fixes: http://bugs.freedesktop.org/show_bug.cgi?id=59541
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions