Use loadImage() rather than createImage() because we want the raw (indexed
color) image rather than one prepped for display. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1105 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: BundledComponentRepository.java,v 1.7 2002/02/19 22:09:50 mdb Exp $
|
// $Id: BundledComponentRepository.java,v 1.8 2002/03/08 09:35:14 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.cast.bundle;
|
package com.threerings.cast.bundle;
|
||||||
|
|
||||||
@@ -244,7 +244,7 @@ public class BundledComponentRepository
|
|||||||
"[bundle=" + _bundle + ", path=" + path + "].";
|
"[bundle=" + _bundle + ", path=" + path + "].";
|
||||||
throw new FileNotFoundException(errmsg);
|
throw new FileNotFoundException(errmsg);
|
||||||
}
|
}
|
||||||
return _imgr.createImage(imgin);
|
return _imgr.loadImage(imgin);
|
||||||
}
|
}
|
||||||
|
|
||||||
// documentation inherited
|
// documentation inherited
|
||||||
|
|||||||
Reference in New Issue
Block a user