aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-05-19 23:22:49 +0200
committerSven Gothel <[email protected]>2014-05-19 23:22:49 +0200
commit1a10db565491d27d135cff898efec58e45cc306f (patch)
treec4a18a441c6071dcbac3e01822731e9e3ed46cc5 /src/jogl/classes/jogamp/opengl
parentc8b1eb11f143bb1d0b276554ff1455d8b7616e33 (diff)
Texture/TextureIO: Make 'wrapping' Texture ctor public, remove same factory method from TextureIO
Diffstat (limited to 'src/jogl/classes/jogamp/opengl')
-rw-r--r--src/jogl/classes/jogamp/opengl/util/av/GLMediaPlayerImpl.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/jogl/classes/jogamp/opengl/util/av/GLMediaPlayerImpl.java b/src/jogl/classes/jogamp/opengl/util/av/GLMediaPlayerImpl.java
index 63bb22d80..49c3c2a13 100644
--- a/src/jogl/classes/jogamp/opengl/util/av/GLMediaPlayerImpl.java
+++ b/src/jogl/classes/jogamp/opengl/util/av/GLMediaPlayerImpl.java
@@ -725,11 +725,8 @@ public abstract class GLMediaPlayerImpl implements GLMediaPlayer {
gl.glTexParameteri(textureTarget, GL.GL_TEXTURE_WRAP_S, texWrapST[0]);
gl.glTexParameteri(textureTarget, GL.GL_TEXTURE_WRAP_T, texWrapST[1]);
- return com.jogamp.opengl.util.texture.TextureIO.newTexture(
- texName, textureTarget,
- tWidth, tHeight,
- width, height,
- !isInGLOrientation);
+ return new Texture(texName, textureTarget,
+ tWidth, tHeight, width, height, !isInGLOrientation);
}
protected void destroyTexFrame(GL gl, TextureFrame frame) {