fixed 8 bpp crash
fluxgen fluxgen
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/FbTk/ImageControl.cc
→
src/FbTk/ImageControl.cc
@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// 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 @@ if (pixmap)
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) {