aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmake/scripts/tests.sh4
-rw-r--r--src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderCode.java15
2 files changed, 9 insertions, 10 deletions
diff --git a/make/scripts/tests.sh b/make/scripts/tests.sh
index d71a0292e..da5da54ba 100755
--- a/make/scripts/tests.sh
+++ b/make/scripts/tests.sh
@@ -151,14 +151,14 @@ function testawtmt() {
#testnoawt com.jogamp.opengl.test.junit.jogl.demos.gl2.newt.TestGearsNEWT $*
#testnoawt com.jogamp.opengl.test.junit.jogl.demos.gl2.newt.TestGearsNEWT $*
#testnoawt com.jogamp.opengl.test.junit.jogl.demos.es1.newt.TestGearsES1NEWT $*
-#testnoawt com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestGearsES2NEWT $*
+testnoawt com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestGearsES2NEWT $*
#testnoawt com.jogamp.opengl.test.junit.newt.TestWindows01NEWT $*
#testnoawt com.jogamp.opengl.test.junit.newt.TestWindowClosingProtocol02NEWT $*
#testnoawt com.jogamp.opengl.test.junit.newt.TestGLWindows01NEWT $*
#testnoawt com.jogamp.opengl.test.junit.newt.TestGLWindows02NEWTAnimated $*
#testnoawt com.jogamp.opengl.test.junit.newt.TestDisplayLifecycle01NEWT
#testnoawt com.jogamp.opengl.test.junit.newt.TestDisplayLifecycle02NEWT
-testnoawt com.jogamp.opengl.test.junit.newt.parenting.TestParenting01NEWT $*
+#testnoawt com.jogamp.opengl.test.junit.newt.parenting.TestParenting01NEWT $*
#testnoawt com.jogamp.opengl.test.junit.newt.parenting.TestParenting02NEWT $*
#testnoawt com.jogamp.opengl.test.junit.newt.TestScreenMode00NEWT
#testnoawt com.jogamp.opengl.test.junit.newt.TestScreenMode00bNEWT
diff --git a/src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderCode.java b/src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderCode.java
index 12d80e42c..cc75b89c0 100644
--- a/src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderCode.java
+++ b/src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderCode.java
@@ -32,7 +32,6 @@ import com.jogamp.common.nio.Buffers;
import com.jogamp.common.util.IOUtil;
import javax.media.opengl.*;
-import com.jogamp.opengl.util.*;
import jogamp.opengl.Debug;
import java.util.*;
@@ -89,7 +88,7 @@ public class ShaderCode {
id = getNextID();
}
- public static ShaderCode create(GL2ES2 gl, int type, int number, Class context, String[] sourceFiles) {
+ public static ShaderCode create(GL2ES2 gl, int type, int number, Class<?> context, String[] sourceFiles) {
if(!ShaderUtil.isShaderCompilerAvailable(gl)) return null;
String[][] shaderSources = null;
@@ -108,7 +107,7 @@ public class ShaderCode {
return new ShaderCode(type, number, shaderSources);
}
- public static ShaderCode create(int type, int number, Class context, int binFormat, String binaryFile) {
+ public static ShaderCode create(int type, int number, Class<?> context, int binFormat, String binaryFile) {
ByteBuffer shaderBinary = null;
if(null!=binaryFile && 0<=binFormat) {
shaderBinary = readShaderBinary(context, binaryFile);
@@ -142,7 +141,7 @@ public class ShaderCode {
}
}
- public static ShaderCode create(GL2ES2 gl, int type, int number, Class context,
+ public static ShaderCode create(GL2ES2 gl, int type, int number, Class<?> context,
String srcRoot, String binRoot, String basename) {
ShaderCode res = null;
String srcFileName = null;
@@ -284,7 +283,7 @@ public class ShaderCode {
}
}
- private static int readShaderSource(Class context, URL url, StringBuffer result, int lineno) {
+ private static int readShaderSource(Class<?> context, URL url, StringBuffer result, int lineno) {
try {
if(DEBUG_CODE) {
System.err.printf("%3d: // %s\n", lineno, url);
@@ -324,7 +323,7 @@ public class ShaderCode {
return lineno;
}
- public static void readShaderSource(Class context, URL url, StringBuffer result) {
+ public static void readShaderSource(Class<?> context, URL url, StringBuffer result) {
if(DEBUG_CODE) {
System.err.println();
System.err.println("// -----------------------------------------------------------");
@@ -336,7 +335,7 @@ public class ShaderCode {
}
}
- public static String readShaderSource(Class context, String path) {
+ public static String readShaderSource(Class<?> context, String path) {
URL url = IOUtil.getResource(context, path);
if (url == null) {
return null;
@@ -346,7 +345,7 @@ public class ShaderCode {
return result.toString();
}
- public static ByteBuffer readShaderBinary(Class context, String path) {
+ public static ByteBuffer readShaderBinary(Class<?> context, String path) {
try {
URL url = IOUtil.getResource(context, path);
if (url == null) {