From 9c913f509a1dbbda0d84fe5f3601914756508fd1 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sat, 12 Jul 2003 21:50:15 +0000 Subject: fixed 8 bpp crash --- src/FbTk/ImageControl.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FbTk/ImageControl.cc b/src/FbTk/ImageControl.cc index f43628f..f372d8e 100644 --- a/src/FbTk/ImageControl.cc +++ b/src/FbTk/ImageControl.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: ImageControl.cc,v 1.1 2003/01/09 21:09:49 fluxgen Exp $ +// $Id: ImageControl.cc,v 1.2 2003/07/12 21:50:15 fluxgen Exp $ #include "ImageControl.hh" @@ -186,7 +186,7 @@ Pixmap ImageControl::renderImage(unsigned int width, unsigned int height, return pixmap; // return cache item // render new image - TextureRender image(*this, width, height); + TextureRender image(*this, width, height, m_colors, m_num_colors); pixmap = image.render(texture); if (pixmap) { -- cgit v0.11.2