stream cleanup
[org.ibex.core.git] / src / org / ibex / graphics / Font.java
index 35e9cf2..96c65c4 100644 (file)
@@ -136,7 +136,7 @@ public class Font {
         
         try {
             Log.info(Font.class, "loading font " + JS.debugToString(res));
-            InputStream is = Stream.getInputStream(res);
+            InputStream is = res.getInputStream();
             byte[] fontstream = InputStreamToByteArray.convert(is);
             rt.free(loadedStreamAddr);
             loadedStreamAddr = rt.xmalloc(fontstream.length);