diff options
| author | Laszlo Ersek <lersek@redhat.com> | 2013-04-09 14:02:09 +0200 |
|---|---|---|
| committer | Christophe Fergeau <cfergeau@redhat.com> | 2013-04-10 09:53:51 +0200 |
| commit | 5aa31e753f1a073c3039998a677a6e19a8b2cd45 (patch) | |
| tree | c41ab70b59f3edf41e3cd0b94ba51ee0e82be5fa /python_modules | |
| parent | b52948d7920a24693a79a270b2f60a284dc10ff5 (diff) | |
| download | spice-common-5aa31e753f1a073c3039998a677a6e19a8b2cd45.tar.gz spice-common-5aa31e753f1a073c3039998a677a6e19a8b2cd45.tar.xz spice-common-5aa31e753f1a073c3039998a677a6e19a8b2cd45.zip | |
supply missing IS_IMAGE_TYPE_* elements for LZ_IMAGE_TYPE_A8
The IS_IMAGE_TYPE_PLT and IS_IMAGE_TYPE_RGB arrays are supposed to decide
whether each image type is PLT or RGB. Dependent on the result, one of the
PLT_PIXELS_PER_BYTE and RGB_BYTES_PER_PIXEL arrays can be indexed.
Commit c0b048eb introduced the LZ_IMAGE_TYPE_A8 enum constant and grew the
RGB_BYTES_PER_PIXEL array by one element, but it missed to append a zero
to IS_IMAGE_TYPE_PLT, and a one to IS_IMAGE_TYPE_RGB. Do so now.
Related RHBZ: 928973.
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'python_modules')
0 files changed, 0 insertions, 0 deletions
