Jogamp
fixed typo in window title.
authorMichael Bien <mbien@fh-landshut.de>
Mon, 7 Feb 2011 13:16:15 +0000 (14:16 +0100)
committerMichael Bien <mbien@fh-landshut.de>
Mon, 7 Feb 2011 13:16:15 +0000 (14:16 +0100)
src/com/jogamp/opencl/demos/gamma/CLSimpleGammaCorrection.java

index 1845cbc..2191f70 100644 (file)
@@ -115,15 +115,15 @@ public class CLSimpleGammaCorrection {
             // a few gamma corrected versions
             float gamma = 0.5f;
             gammaCorrection(gamma, queue, kernel, buffer, localWorkSize, globalWorkSize);
-            show(createImage(image.getWidth(), image.getHeight(), buffer), image.getWidth()/2, 50, "corrected with gama="+gamma);
+            show(createImage(image.getWidth(), image.getHeight(), buffer), image.getWidth()/2, 50, "gamma="+gamma);
             
             gamma = 1.5f;
             gammaCorrection(gamma, queue, kernel, buffer, localWorkSize, globalWorkSize);
-            show(createImage(image.getWidth(), image.getHeight(), buffer), image.getWidth()/2*2, 50, "corrected with gama="+gamma);
+            show(createImage(image.getWidth(), image.getHeight(), buffer), image.getWidth()/2*2, 50, "gamma="+gamma);
             
             gamma = 2.0f;
             gammaCorrection(gamma, queue, kernel, buffer, localWorkSize, globalWorkSize);
-            show(createImage(image.getWidth(), image.getHeight(), buffer), image.getWidth()/2*3, 50, "corrected with gama="+gamma);
+            show(createImage(image.getWidth(), image.getHeight(), buffer), image.getWidth()/2*3, 50, "gamma="+gamma);
             
         }finally{
             context.release();
http://JogAmp.org git info: FAQ, tutorial and man pages.