aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/classes/jogl/javax/media/j3d/JoglPipeline.java9
-rw-r--r--src/native/ogl/Canvas3D.c8
2 files changed, 4 insertions, 13 deletions
diff --git a/src/classes/jogl/javax/media/j3d/JoglPipeline.java b/src/classes/jogl/javax/media/j3d/JoglPipeline.java
index 3557c32..568b676 100644
--- a/src/classes/jogl/javax/media/j3d/JoglPipeline.java
+++ b/src/classes/jogl/javax/media/j3d/JoglPipeline.java
@@ -8336,8 +8336,8 @@ class JoglPipeline extends Pipeline {
// Reset all fields
cv.multiTexAccelerated = false;
- cv.maxTextureUnits = 0;
- cv.maxTexCoordSets = 0;
+ cv.maxTextureUnits = 1;
+ cv.maxTexCoordSets = 1;
cv.maxTextureImageUnits = 0;
cv.maxVertexTextureImageUnits = 0;
cv.maxCombinedTextureImageUnits = 0;
@@ -8393,10 +8393,7 @@ class JoglPipeline extends Pipeline {
gl13 = true;
} else {
if (minor == 2) {
- System.err.println("*********************************************************");
- System.err.println("*** JAVA 3D: WARNING OpenGL 1.2 is no longer supported.");
- System.err.println("*** Will attempt to run with reduced functionality.");
- System.err.println("*********************************************************");
+ System.err.println("JAVA 3D: OpenGL 1.2 detected; will run with reduced functionality");
} else {
gl13 = true;
}
diff --git a/src/native/ogl/Canvas3D.c b/src/native/ogl/Canvas3D.c
index b6cb469..f3bb2da 100644
--- a/src/native/ogl/Canvas3D.c
+++ b/src/native/ogl/Canvas3D.c
@@ -607,13 +607,7 @@ getPropertiesFromCurrentContext(
else {
if (versionNumbers[1] == 2) {
fprintf(stderr,
- "*********************************************************\n");
- fprintf(stderr,
- "*** JAVA 3D: WARNING OpenGL 1.2 is no longer supported.\n");
- fprintf(stderr,
- "*** Will attempt to run with reduced functionality.\n");
- fprintf(stderr,
- "*********************************************************\n");
+ "JAVA 3D: OpenGL 1.2 detected; will run with reduced functionality\n");
} else {
// OpenGL 1.x (1.3 or greater)
ctxInfo->gl13 = JNI_TRUE;