diff options
-rw-r--r-- | src/classes/win32/javax/media/j3d/NativeConfigTemplate3D.java | 2 | ||||
-rw-r--r-- | src/native/ogl/Canvas3D.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/classes/win32/javax/media/j3d/NativeConfigTemplate3D.java b/src/classes/win32/javax/media/j3d/NativeConfigTemplate3D.java index f52223f..b37af27 100644 --- a/src/classes/win32/javax/media/j3d/NativeConfigTemplate3D.java +++ b/src/classes/win32/javax/media/j3d/NativeConfigTemplate3D.java @@ -110,7 +110,7 @@ class NativeConfigTemplate3D { return null; } - // Fix to issue 97 -- + // Fix to issue 104 -- // Pass in 0 for pixel format to the AWT. // ATI driver will lockup pixelFormat, if it is passed to AWT. GraphicsConfiguration gc1 = new J3dGraphicsConfig(gd, 0); diff --git a/src/native/ogl/Canvas3D.c b/src/native/ogl/Canvas3D.c index a33eb54..647d5b4 100644 --- a/src/native/ogl/Canvas3D.c +++ b/src/native/ogl/Canvas3D.c @@ -1241,7 +1241,7 @@ jlong JNICALL Java_javax_media_j3d_Canvas3D_createNewContext( * by wglChoosePixelFormat() or wglChoosePixelFormatARB. */ - if(!offScreen) { // Fix to issue 97 + if(!offScreen) { // Fix to issue 104 if ((PixelFormatInfoPtr == NULL) || (PixelFormatInfoPtr->onScreenPFormat <= 0)) { printErrorMessage("Canvas3D_createNewContext: onScreen PixelFormat is invalid"); return 0; @@ -3352,7 +3352,7 @@ void JNICALL Java_javax_media_j3d_Canvas3D_createQueryContext( * by wglChoosePixelFormat() or wglChoosePixelFormatARB. */ - // Fix to issue 97 + // Fix to issue 104 if(!offScreen) { if ((PixelFormatInfoPtr == NULL) || (PixelFormatInfoPtr->onScreenPFormat <= 0)) { printErrorMessage("Canvas3D_createNewContext: onScreen PixelFormat is invalid"); |