Sfoglia il codice sorgente

* Fix color mask order in Dither class.

tags/v0.99.beta18
Alex Foulon alxf 14 anni fa
parent
commit
8800d9743b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      python/caca/dither.py

+ 1
- 1
python/caca/dither.py Vedi File

@@ -68,7 +68,7 @@ class Dither(_Dither):
]

self._dither = _lib.caca_create_dither(bpp, width, height, pitch,
bmask, gmask, rmask, amask)
rmask, gmask, bmask, amask)

if self._dither == 0:
raise DitherError, "Failed to create dither object"


Caricamento…
Annulla
Salva