From da279187e375fdc87ed3a73480c5548602d3454e Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 8 Oct 2011 01:24:11 +0200 Subject: minor editing --- src/jogl/classes/jogamp/opengl/GLDrawableHelper.java | 3 --- src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/gears.fp | 3 +-- 2 files changed, 1 insertion(+), 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); -- cgit v1.2.3