diff options
author | fluxgen <fluxgen> | 2003-07-12 21:50:15 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-07-12 21:50:15 (GMT) |
commit | 9c913f509a1dbbda0d84fe5f3601914756508fd1 (patch) | |
tree | fbd7fbbb5336231d4107ab81f4ae617e86e0fb09 /src/FbTk/ImageControl.cc | |
parent | ad60375f4e5cb038f5398a7eb9baf3811e9ed573 (diff) | |
download | fluxbox-9c913f509a1dbbda0d84fe5f3601914756508fd1.zip fluxbox-9c913f509a1dbbda0d84fe5f3601914756508fd1.tar.bz2 |
fixed 8 bpp crash
Diffstat (limited to 'src/FbTk/ImageControl.cc')
-rw-r--r-- | src/FbTk/ImageControl.cc | 4 |
1 files 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 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: ImageControl.cc,v 1.1 2003/01/09 21:09:49 fluxgen Exp $ | 25 | // $Id: ImageControl.cc,v 1.2 2003/07/12 21:50:15 fluxgen Exp $ |
26 | 26 | ||
27 | #include "ImageControl.hh" | 27 | #include "ImageControl.hh" |
28 | 28 | ||
@@ -186,7 +186,7 @@ Pixmap ImageControl::renderImage(unsigned int width, unsigned int height, | |||
186 | return pixmap; // return cache item | 186 | return pixmap; // return cache item |
187 | 187 | ||
188 | // render new image | 188 | // render new image |
189 | TextureRender image(*this, width, height); | 189 | TextureRender image(*this, width, height, m_colors, m_num_colors); |
190 | pixmap = image.render(texture); | 190 | pixmap = image.render(texture); |
191 | 191 | ||
192 | if (pixmap) { | 192 | if (pixmap) { |