aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/ogl/NativeScreenInfo.c
diff options
context:
space:
mode:
authorKevin Rushforth <[email protected]>2004-11-05 17:49:17 +0000
committerKevin Rushforth <[email protected]>2004-11-05 17:49:17 +0000
commit7ce0d5ef623370a6122c63ea70e0ae5b022998f9 (patch)
treea8e21f2e6be6225f26902bcad0badbd9533aad6e /src/native/ogl/NativeScreenInfo.c
parent49fe0098cf0aa3fdd764f2b564075ac55ef59280 (diff)
1. Added new boolean property, "j3d.usePbuffer", which can be used to
enable or disable the use of OpenGL Pbuffer rendering for off-screen Canvas3D objects. The default value for this property is "true". To disable Pbuffer rendering, use "java -Dj3d.usePbuffer=false ..." 2. Changed the few remaining C++-style "//" comments to "/* ... */" for maximum portability. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@75 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src/native/ogl/NativeScreenInfo.c')
-rw-r--r--src/native/ogl/NativeScreenInfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/native/ogl/NativeScreenInfo.c b/src/native/ogl/NativeScreenInfo.c
index 8ea4b17..472d49d 100644
--- a/src/native/ogl/NativeScreenInfo.c
+++ b/src/native/ogl/NativeScreenInfo.c
@@ -86,7 +86,7 @@ Java_javax_media_j3d_NativeScreenInfo_queryGLX13(
int major, minor;
int errorBase, eventBase;
Display* dpy = (Display*)display;
- // It should be cleaner to return both the major and minor to the caller.
+ /* It should be cleaner to return both the major and minor to the caller. */
if (!glXQueryExtension(dpy, &errorBase, &eventBase)) {
fprintf(stderr, "Java 3D ERROR : GLX extension is not supported\n");