diff options
author | Sven Gothel <[email protected]> | 2014-05-19 23:22:49 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-05-19 23:22:49 +0200 |
commit | 1a10db565491d27d135cff898efec58e45cc306f (patch) | |
tree | c4a18a441c6071dcbac3e01822731e9e3ed46cc5 /src/jogl/classes/jogamp/opengl/util | |
parent | c8b1eb11f143bb1d0b276554ff1455d8b7616e33 (diff) |
Texture/TextureIO: Make 'wrapping' Texture ctor public, remove same factory method from TextureIO
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/util')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/util/av/GLMediaPlayerImpl.java | 7 |
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) { |