summaryrefslogtreecommitdiff
path: root/spuencoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'spuencoder.c')
-rw-r--r--spuencoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spuencoder.c b/spuencoder.c
index 973e241..ed9e722 100644
--- a/spuencoder.c
+++ b/spuencoder.c
@@ -91,7 +91,7 @@ void cSpuEncoder::encode(cBitmap *bmap, int top, int left)
generateColorPalette();
// add one region
- cSpuRegion *reg = new cSpuRegion();
+ cSpuRegion *reg = new cSpuRegion(0);
for (int i = 0; i < numColors; i++) {
reg->addIndex(bitmap->Index(colors[i]));