summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/com/jogamp/opengl/test/bugs/Issue344Base.java2
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/TextureSequenceCubeES2.java2
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSBSStereo.java2
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java2
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/math/TestPMVMatrix01NEWT.java14
5 files changed, 12 insertions, 10 deletions
diff --git a/src/test/com/jogamp/opengl/test/bugs/Issue344Base.java b/src/test/com/jogamp/opengl/test/bugs/Issue344Base.java
index 7692a30b7..54786bbc3 100644
--- a/src/test/com/jogamp/opengl/test/bugs/Issue344Base.java
+++ b/src/test/com/jogamp/opengl/test/bugs/Issue344Base.java
@@ -76,7 +76,7 @@ public abstract class Issue344Base implements GLEventListener
final Rectangle2D bounds = renderer.getBounds(getText());
final float w = (float) bounds.getWidth();
- final float h = (float) bounds.getHeight();
+ // final float h = (float) bounds.getHeight();
textScaleFactor = 2.0f / (w * 1.1f);
gl.setSwapInterval(0);
}
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/TextureSequenceCubeES2.java b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/TextureSequenceCubeES2.java
index b49fa182a..99b943c65 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/TextureSequenceCubeES2.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/TextureSequenceCubeES2.java
@@ -180,7 +180,7 @@ public class TextureSequenceCubeES2 implements GLEventListener {
int rsFpPos = preludeGLSLVersion ? rsFp.addGLSLVersion(gl) : 0;
rsFpPos = rsFp.insertShaderSource(0, rsFpPos, texSeq.getRequiredExtensionsShaderStub());
- rsFpPos = rsFp.addDefaultShaderPrecision(gl, rsFpPos);
+ rsFp.addDefaultShaderPrecision(gl, rsFpPos);
final String texLookupFuncName = texSeq.getTextureLookupFunctionName(myTextureLookupName);
rsFp.replaceInShaderSource(myTextureLookupName, texLookupFuncName);
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSBSStereo.java b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSBSStereo.java
index a2a39d631..0c7bdc81d 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSBSStereo.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSBSStereo.java
@@ -369,7 +369,7 @@ public class MovieSBSStereo implements StereoGLEventListener {
int rsFpPos = preludeGLSLVersion ? rsFp.addGLSLVersion(gl) : 0;
rsFpPos = rsFp.insertShaderSource(0, rsFpPos, mPlayer.getRequiredExtensionsShaderStub());
- rsFpPos = rsFp.addDefaultShaderPrecision(gl, rsFpPos);
+ rsFp.addDefaultShaderPrecision(gl, rsFpPos);
final String texLookupFuncName = mPlayer.getTextureLookupFunctionName(myTextureLookupName);
rsFp.replaceInShaderSource(myTextureLookupName, texLookupFuncName);
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java
index 5918e4e6b..50d16db1b 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java
@@ -439,7 +439,7 @@ public class MovieSimple implements GLEventListener {
int rsFpPos = preludeGLSLVersion ? rsFp.addGLSLVersion(gl) : 0;
rsFpPos = rsFp.insertShaderSource(0, rsFpPos, mPlayer.getRequiredExtensionsShaderStub());
- rsFpPos = rsFp.addDefaultShaderPrecision(gl, rsFpPos);
+ rsFp.addDefaultShaderPrecision(gl, rsFpPos);
final String texLookupFuncName = mPlayer.getTextureLookupFunctionName(myTextureLookupName);
rsFp.replaceInShaderSource(myTextureLookupName, texLookupFuncName);
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/math/TestPMVMatrix01NEWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/math/TestPMVMatrix01NEWT.java
index e111887f7..8c2216f7a 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/math/TestPMVMatrix01NEWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/math/TestPMVMatrix01NEWT.java
@@ -331,7 +331,8 @@ public class TestPMVMatrix01NEWT extends UITestCase {
@SuppressWarnings("unused")
@Test
public void test03MvTranslate() {
- final FloatBuffer pmvMv, pmvMvi, pmvMvit;
+ final FloatBuffer pmvMv;
+ // final FloatBuffer pmvMvi, pmvMvit;
{
final PMVMatrix pmv = new PMVMatrix();
pmv.glMatrixMode(GLMatrixFunc.GL_PROJECTION);
@@ -341,8 +342,8 @@ public class TestPMVMatrix01NEWT extends UITestCase {
pmv.glTranslatef(5f, 6f, 7f);
pmvMv = pmv.glGetMvMatrixf();
- pmvMvi = pmv.glGetMviMatrixf();
- pmvMvit = pmv.glGetMvitMatrixf();
+ // pmvMvi = pmv.glGetMviMatrixf();
+ // pmvMvit = pmv.glGetMvitMatrixf();
}
final FloatBuffer glMv = FloatBuffer.allocate(16);
@@ -369,7 +370,8 @@ public class TestPMVMatrix01NEWT extends UITestCase {
@SuppressWarnings("unused")
@Test
public void test04MvTranslateRotate() {
- final FloatBuffer pmvMv, pmvMvi, pmvMvit;
+ final FloatBuffer pmvMv;
+ // final FloatBuffer pmvMvi, pmvMvit;
{
final PMVMatrix pmv = new PMVMatrix();
pmv.glMatrixMode(GLMatrixFunc.GL_PROJECTION);
@@ -380,8 +382,8 @@ public class TestPMVMatrix01NEWT extends UITestCase {
pmv.glRotatef(90f, 1f, 0f, 0f);
pmvMv = pmv.glGetMvMatrixf();
- pmvMvi = pmv.glGetMviMatrixf();
- pmvMvit = pmv.glGetMvitMatrixf();
+ // pmvMvi = pmv.glGetMviMatrixf();
+ // pmvMvit = pmv.glGetMvitMatrixf();
}
final FloatBuffer glMv = FloatBuffer.allocate(16);