summaryrefslogtreecommitdiffstats
path: root/src/test/com/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-02-24 02:49:21 +0100
committerSven Gothel <[email protected]>2012-02-24 02:49:21 +0100
commite69bfdd3d3fb9a5b3c2f925457aabbeff5e25ecf (patch)
tree331efd09f3e546c0a10858524320abdf5e6e7268 /src/test/com/jogamp
parent5940f88b19a375bd20432be01bde02cda065fbce (diff)
Surface2File: Use .tga to write pixels, which allows RGB and RGBA
Diffstat (limited to 'src/test/com/jogamp')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/offscreen/Surface2File.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/offscreen/Surface2File.java b/src/test/com/jogamp/opengl/test/junit/jogl/offscreen/Surface2File.java
index 79cc836f6..d1297e034 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/offscreen/Surface2File.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/offscreen/Surface2File.java
@@ -71,7 +71,7 @@ public class Surface2File implements SurfaceUpdatedListener {
return;
}
- File file = File.createTempFile(basename + shotNum + "-", ".ppm");
+ File file = File.createTempFile(basename + shotNum + "-", ".tga");
readBufferUtil.write(file);
System.err.println("Wrote: " + file.getAbsolutePath() + ", ...");
shotNum++;