summaryrefslogtreecommitdiffstats
path: root/src/demos/texture
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2008-11-21 01:09:31 +0000
committerKenneth Russel <[email protected]>2008-11-21 01:09:31 +0000
commit985276e9c7eea8b85936435eff35e10ed113840b (patch)
treea4fdc33ee42a49cc834ace4171c7a21e0ffa2882 /src/demos/texture
parentf25bdef3b6bc423a08390ab17e86897c85b71282 (diff)
Changed gleem to explicitly declare AWT dependencies. Updated all
demos. All demos now build cleanly. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@291 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src/demos/texture')
-rwxr-xr-xsrc/demos/texture/TestSubImage.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/demos/texture/TestSubImage.java b/src/demos/texture/TestSubImage.java
index f7ddde4..98fafae 100755
--- a/src/demos/texture/TestSubImage.java
+++ b/src/demos/texture/TestSubImage.java
@@ -43,6 +43,7 @@ import com.sun.opengl.util.texture.Texture;
import com.sun.opengl.util.texture.TextureCoords;
import com.sun.opengl.util.texture.TextureData;
import com.sun.opengl.util.texture.TextureIO;
+import com.sun.opengl.util.texture.awt.AWTTextureIO;
import java.awt.AlphaComposite;
import java.awt.Color;
import java.awt.GradientPaint;
@@ -134,7 +135,7 @@ public class TestSubImage {
g.dispose();
// Create a TextureData and Texture from it
- textureData = TextureIO.newTextureData(convertedImage, false);
+ textureData = AWTTextureIO.newTextureData(convertedImage, false);
texture = TextureIO.newTexture(textureData);
}