aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorSven Hesse2008-12-24 16:59:37 +0000
committerSven Hesse2008-12-24 16:59:37 +0000
commit00baeacf609e013bf671840aeea3cdf7741733b6 (patch)
treeacf1686ac80f859986873db1310b3aed58afba23 /engines
parenteee07138c99a6551fcc83789c73605f16e1cfd61 (diff)
downloadscummvm-rg350-00baeacf609e013bf671840aeea3cdf7741733b6.tar.gz
scummvm-rg350-00baeacf609e013bf671840aeea3cdf7741733b6.tar.bz2
scummvm-rg350-00baeacf609e013bf671840aeea3cdf7741733b6.zip
Documenting the dither code a bit more and removing SierraLight's not needed height argument
svn-id: r35530
Diffstat (limited to 'engines')
-rw-r--r--engines/gob/coktelvideo.cpp2
-rw-r--r--engines/gob/indeo3.cpp2
-rw-r--r--engines/gob/video_v6.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/engines/gob/coktelvideo.cpp b/engines/gob/coktelvideo.cpp
index cab1072d94..2e8cd74aad 100644
--- a/engines/gob/coktelvideo.cpp
+++ b/engines/gob/coktelvideo.cpp
@@ -1542,7 +1542,7 @@ void Vmd::blit16(byte *dest, uint16 *src, int16 width, int16 height) {
assert(_palLUT);
Graphics::SierraLight *dither =
- new Graphics::SierraLight(width, height, _palLUT);
+ new Graphics::SierraLight(width, _palLUT);
for (int i = 0; i < height; i++) {
byte *d = dest;
diff --git a/engines/gob/indeo3.cpp b/engines/gob/indeo3.cpp
index 951bc2d3e8..cae66e4a5b 100644
--- a/engines/gob/indeo3.cpp
+++ b/engines/gob/indeo3.cpp
@@ -95,7 +95,7 @@ void Indeo3::setDither(DitherAlgorithm dither) {
switch(dither) {
case kDitherSierraLight:
- _ditherSL = new Graphics::SierraLight(_width, _height, _palLUT);
+ _ditherSL = new Graphics::SierraLight(_width, _palLUT);
break;
default:
diff --git a/engines/gob/video_v6.cpp b/engines/gob/video_v6.cpp
index a3ba8cb340..db96986c1f 100644
--- a/engines/gob/video_v6.cpp
+++ b/engines/gob/video_v6.cpp
@@ -177,7 +177,7 @@ void Video_v6::shadeRect(SurfaceDesc *dest,
_palLUT->getEntry(color, sY, sU, sV);
Graphics::SierraLight *dither =
- new Graphics::SierraLight(width, height, _palLUT);
+ new Graphics::SierraLight(width, _palLUT);
for (int i = 0; i < height; i++) {
byte *d = vidMem;
@@ -256,7 +256,7 @@ void Video_v6::drawYUV(SurfaceDesc *destDesc, int16 x, int16 y,
height = destDesc->getHeight() - y;
Graphics::SierraLight *dither =
- new Graphics::SierraLight(width, height, _palLUT);
+ new Graphics::SierraLight(width, _palLUT);
for (int i = 0; i < height; i++) {
byte *dest = vidMem;