mirror of
https://github.com/aap/librw.git
synced 2025-12-22 02:19:56 +00:00
some bug fixes
This commit is contained in:
@@ -378,6 +378,7 @@ Image::unindex(void)
|
||||
}
|
||||
this->free();
|
||||
this->depth = ndepth;
|
||||
this->bpp = ndepth < 8 ? 1 : ndepth/8;
|
||||
this->stride = nstride;
|
||||
this->setPixels(npixels);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user