summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/jogl/classes/jogamp/opengl/GLDrawableHelper.java3
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/gears.fp3
2 files changed, 1 insertions, 5 deletions
diff --git a/src/jogl/classes/jogamp/opengl/GLDrawableHelper.java b/src/jogl/classes/jogamp/opengl/GLDrawableHelper.java
index 722ab4e7f..fcbf13aad 100644
--- a/src/jogl/classes/jogamp/opengl/GLDrawableHelper.java
+++ b/src/jogl/classes/jogamp/opengl/GLDrawableHelper.java
@@ -374,9 +374,6 @@ public class GLDrawableHelper {
// tdR = System.currentTimeMillis();
// td1 = tdR - t0; // makeCurrent
if(null!=runnable) {
- if (DEBUG) {
- System.err.println("GLDrawableHelper " + this + ".invokeGL(): Running runnable");
- }
runnable.run();
// td2 = System.currentTimeMillis();
// tdR = td2 - tdR; // render time
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/gears.fp b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/gears.fp
index 768e23b36..f41addad8 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/gears.fp
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/gears.fp
@@ -32,8 +32,7 @@ void main()
if (lambertTerm > 0.0) {
float NdotHV;
/*
- vec3 halfDir;
- halfDir = normalize (lightDir + cameraDir);
+ vec3 halfDir = normalize (lightDir + cameraDir);
NdotHV = max(0.0, dot(normal, halfDir));
*/
vec3 E = normalize(-position.xyz);