From 35d07fa97404921bb8e9b5185d6f89a3c09d0e9f Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 13 Mar 2023 05:52:59 +0100 Subject: Move png assets (NEWT icons + GLMediaPlayer dummy/test) to simple classpath, allowing access w/o jars. TODO: Test Android. --- .../classes/jogamp/opengl/assets/test-ntsc01-28x16.png | Bin 0 -> 396 bytes .../classes/jogamp/opengl/util/av/NullGLMediaPlayer.java | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 src/jogl/classes/jogamp/opengl/assets/test-ntsc01-28x16.png (limited to 'src/jogl/classes/jogamp') diff --git a/src/jogl/classes/jogamp/opengl/assets/test-ntsc01-28x16.png b/src/jogl/classes/jogamp/opengl/assets/test-ntsc01-28x16.png new file mode 100644 index 000000000..4601a214e Binary files /dev/null and b/src/jogl/classes/jogamp/opengl/assets/test-ntsc01-28x16.png differ diff --git a/src/jogl/classes/jogamp/opengl/util/av/NullGLMediaPlayer.java b/src/jogl/classes/jogamp/opengl/util/av/NullGLMediaPlayer.java index 92ed2d749..59dba68f2 100644 --- a/src/jogl/classes/jogamp/opengl/util/av/NullGLMediaPlayer.java +++ b/src/jogl/classes/jogamp/opengl/util/av/NullGLMediaPlayer.java @@ -108,7 +108,7 @@ public class NullGLMediaPlayer extends GLMediaPlayerImpl { public final static TextureData createTestTextureData() { TextureData res = null; try { - final URLConnection urlConn = IOUtil.getResource("jogl/util/data/av/test-ntsc01-28x16.png", NullGLMediaPlayer.class.getClassLoader()); + final URLConnection urlConn = IOUtil.getResource("jogamp/opengl/assets/test-ntsc01-28x16.png", NullGLMediaPlayer.class.getClassLoader()); if(null != urlConn) { res = TextureIO.newTextureData(GLProfile.getGL2ES2(), urlConn.getInputStream(), false, TextureIO.PNG); } -- cgit v1.2.3