aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-10-08 01:24:11 +0200
committerSven Gothel <[email protected]>2011-10-08 01:24:11 +0200
commitda279187e375fdc87ed3a73480c5548602d3454e (patch)
tree71084ee8c67c3b861d82762dee15533c85bc4102
parent1ac5f46bb15c08b7126e22d10a80e6d607207780 (diff)
minor editing
-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);