summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/com/jogamp/opengl/test/bugs/Bug735Inv0AppletAWT.java6
-rw-r--r--src/test/com/jogamp/opengl/test/bugs/Bug735Inv1AppletAWT.java7
2 files changed, 7 insertions, 6 deletions
diff --git a/src/test/com/jogamp/opengl/test/bugs/Bug735Inv0AppletAWT.java b/src/test/com/jogamp/opengl/test/bugs/Bug735Inv0AppletAWT.java
index 64cfe2f32..58ba03638 100644
--- a/src/test/com/jogamp/opengl/test/bugs/Bug735Inv0AppletAWT.java
+++ b/src/test/com/jogamp/opengl/test/bugs/Bug735Inv0AppletAWT.java
@@ -312,6 +312,8 @@ public class Bug735Inv0AppletAWT extends Applet implements Runnable {
vertShader = ShaderCode.create(gl, GL2ES2.GL_VERTEX_SHADER, LandscapeES2.class, "shader", "shader/bin", "landscape", true);
fragShader = ShaderCode.create(gl, GL2ES2.GL_FRAGMENT_SHADER, LandscapeES2.class, "shader", "shader/bin", "landscape", true);
+ vertShader.defaultShaderCustomization(gl, true, true);
+ fragShader.defaultShaderCustomization(gl, true, true);
shaderProg = new ShaderProgram();
shaderProg.add(gl, vertShader, System.err);
shaderProg.add(gl, fragShader, System.err);
@@ -339,8 +341,8 @@ public class Bug735Inv0AppletAWT extends Applet implements Runnable {
}
private void draw(GL2ES2 gl) {
- gl.glClearColor(0.5f, 0.1f, 0.1f, 1);
- gl.glClear(GL2ES2.GL_COLOR_BUFFER_BIT);
+ // gl.glClearColor(0.5f, 0.1f, 0.1f, 1);
+ // gl.glClear(GL2ES2.GL_COLOR_BUFFER_BIT);
shaderState.useProgram(gl, true);
diff --git a/src/test/com/jogamp/opengl/test/bugs/Bug735Inv1AppletAWT.java b/src/test/com/jogamp/opengl/test/bugs/Bug735Inv1AppletAWT.java
index 201418035..8c8dd77da 100644
--- a/src/test/com/jogamp/opengl/test/bugs/Bug735Inv1AppletAWT.java
+++ b/src/test/com/jogamp/opengl/test/bugs/Bug735Inv1AppletAWT.java
@@ -39,7 +39,6 @@ import com.jogamp.opengl.util.glsl.ShaderState;
/**
* Difference to orig. Bug735Inv0AppletAWT:
* <pre>
- * - MANUAL_FRAME_HANDLING false
* - MANUAL_FRAME_HANDLING: impl using pass through GLContext instead of static
* </pre>
* OSX Results:
@@ -56,7 +55,7 @@ public class Bug735Inv1AppletAWT extends Applet implements Runnable {
static public int APPLET_HEIGHT = 290;
static public int TARGET_FPS = 120;
static public int TOOLKIT = NEWT;
- static public boolean MANUAL_FRAME_HANDLING = false;
+ static public boolean MANUAL_FRAME_HANDLING = true;
//////////////////////////////////////////////////////////////////////////////
@@ -341,8 +340,8 @@ public class Bug735Inv1AppletAWT extends Applet implements Runnable {
}
private void draw(GL2ES2 gl) {
- gl.glClearColor(0.5f, 0.1f, 0.1f, 1);
- gl.glClear(GL2ES2.GL_COLOR_BUFFER_BIT);
+ // gl.glClearColor(0.5f, 0.1f, 0.1f, 1);
+ // gl.glClear(GL2ES2.GL_COLOR_BUFFER_BIT);
shaderState.useProgram(gl, true);