summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-06-07 18:28:22 +0200
committerSven Gothel <[email protected]>2011-06-07 18:28:22 +0200
commitcf36398314270c2c50d55b23736e5bff8b62337d (patch)
tree53b85ce3c10a4a7a840702902a1cc4c0894a3821 /src/jogl/classes/jogamp
parentced1a4c644483ad5bfd28ca2bb6a5ffc030b9f1d (diff)
Using GlueGen IOUtil (dropped StreamUtil, FileUtil); Public GLReadBufferUtil (screenshot etc) and GLPixelStorageModes
- Using GlueGen IOUtil, dropping StreamUtil and FileUtil - Public (util) GLReadBufferUtil for screenshots and slow r2t (AWT less), as well as GLPixelStorageModes
Diffstat (limited to 'src/jogl/classes/jogamp')
-rw-r--r--src/jogl/classes/jogamp/graph/font/typecast/TypecastFontConstructor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/graph/font/typecast/TypecastFontConstructor.java b/src/jogl/classes/jogamp/graph/font/typecast/TypecastFontConstructor.java
index 179e4ed2c..cb0d1a372 100644
--- a/src/jogl/classes/jogamp/graph/font/typecast/TypecastFontConstructor.java
+++ b/src/jogl/classes/jogamp/graph/font/typecast/TypecastFontConstructor.java
@@ -56,7 +56,7 @@ public class TypecastFontConstructor implements FontConstructor {
public Font create(URL furl) throws IOException {
final File tf = File.createTempFile( "joglfont", ".ttf");
- final int len = IOUtil.copyURLToFile(furl, tf);
+ final int len = IOUtil.copyURL2File(furl, tf);
if(len==0) {
tf.delete();
throw new GLException("Font of stream "+furl+" was zero bytes");