Temporary hack to make all images translucent since that works around

strange slow rendering problems we see when we allow mixed BITMASK and
TRANSLUCENT images to be rendered.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2140 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-01-14 04:05:56 +00:00
parent e38c4aaf80
commit f26cfb322d
@@ -1,5 +1,5 @@
//
// $Id: ImageManager.java,v 1.36 2003/01/13 23:55:05 mdb Exp $
// $Id: ImageManager.java,v 1.37 2003/01/14 04:05:56 mdb Exp $
package com.threerings.media.image;
@@ -121,6 +121,8 @@ public class ImageManager
*/
public BufferedImage createImage (int width, int height, int transparency)
{
// DEBUG: override transparency for the moment on all images
transparency = Transparency.TRANSLUCENT;
return _gc.createCompatibleImage(width, height, transparency);
}