Skip to content
Snippets Groups Projects
Commit 18771eac authored by Gary Frost's avatar Gary Frost
Browse files

No commit message

No commit message
parent b967f173
No related merge requests found
......@@ -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) {
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment