diff --git a/examples/nbody/src/com/amd/aparapi/examples/nbody/Main.java b/examples/nbody/src/com/amd/aparapi/examples/nbody/Main.java index d5747eae2e854328f39a58ec48f3ee7a9ecbb42c..8be1386e5809882d92b2d28fc978c6b3dbec7e34 100644 --- a/examples/nbody/src/com/amd/aparapi/examples/nbody/Main.java +++ b/examples/nbody/src/com/amd/aparapi/examples/nbody/Main.java @@ -318,10 +318,10 @@ public class Main{ final GL2 gl = drawable.getGL().getGL2(); gl.glShadeModel(GLLightingFunc.GL_SMOOTH); - gl.glEnable(GL.GL_BLEND); + gl.glEnable(GL.GL_BLEND); gl.glBlendFunc(GL.GL_SRC_ALPHA, GL.GL_ONE); try { - InputStream textureStream = Main.class.getResourceAsStream("particle.jpg"); + InputStream textureStream = Main.class.getResourceAsStream("duke.jpg"); Texture texture = TextureIO.newTexture(textureStream, false, null); texture.enable(gl); } catch (IOException e) { diff --git a/examples/nbody/src/com/amd/aparapi/examples/nbody/duke.jpg b/examples/nbody/src/com/amd/aparapi/examples/nbody/duke.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2729fd2fc9cef1a95cb291aa633fb037fd6cf9ab Binary files /dev/null and b/examples/nbody/src/com/amd/aparapi/examples/nbody/duke.jpg differ diff --git a/examples/nbody/src/com/amd/aparapi/examples/nbody/moon.jpg b/examples/nbody/src/com/amd/aparapi/examples/nbody/moon.jpg new file mode 100644 index 0000000000000000000000000000000000000000..40a6668a778f30a5898620873eb89ebbe9e8741e Binary files /dev/null and b/examples/nbody/src/com/amd/aparapi/examples/nbody/moon.jpg differ