summaryrefslogtreecommitdiffstats
path: root/src/demos/es1
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/es1')
-rwxr-xr-xsrc/demos/es1/angeles/AngelesES1.java4
-rwxr-xr-xsrc/demos/es1/angeles/AngelesGL.java4
-rwxr-xr-xsrc/demos/es1/cubefbo/FBCubes.java2
3 files changed, 9 insertions, 1 deletions
diff --git a/src/demos/es1/angeles/AngelesES1.java b/src/demos/es1/angeles/AngelesES1.java
index c5de891..bfb4a78 100755
--- a/src/demos/es1/angeles/AngelesES1.java
+++ b/src/demos/es1/angeles/AngelesES1.java
@@ -31,6 +31,10 @@ import java.nio.*;
public class AngelesES1 implements GLEventListener {
+ public AngelesES1() {
+ this(true);
+ }
+
public AngelesES1(boolean enableBlending) {
blendingEnabled = enableBlending;
quadVertices = BufferUtil.newIntBuffer(12);
diff --git a/src/demos/es1/angeles/AngelesGL.java b/src/demos/es1/angeles/AngelesGL.java
index bae7b5c..12206de 100755
--- a/src/demos/es1/angeles/AngelesGL.java
+++ b/src/demos/es1/angeles/AngelesGL.java
@@ -32,6 +32,10 @@ import java.nio.*;
public class AngelesGL implements GLEventListener {
+ public AngelesGL() {
+ this(true);
+ }
+
public AngelesGL(boolean enableBlending) {
blendingEnabled = enableBlending;
quadVertices = BufferUtil.newFloatBuffer(12);
diff --git a/src/demos/es1/cubefbo/FBCubes.java b/src/demos/es1/cubefbo/FBCubes.java
index ad4e120..ecef02d 100755
--- a/src/demos/es1/cubefbo/FBCubes.java
+++ b/src/demos/es1/cubefbo/FBCubes.java
@@ -39,7 +39,7 @@ import javax.media.opengl.*;
import com.sun.opengl.util.FBObject;
import com.sun.opengl.util.glsl.fixedfunc.*;
-class FBCubes implements GLEventListener {
+public class FBCubes implements GLEventListener {
private static final int FBO_SIZE = 256;
public FBCubes () {