summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChien Yang <[email protected]>2005-02-15 01:26:47 +0000
committerChien Yang <[email protected]>2005-02-15 01:26:47 +0000
commitf756f4a104cbcca3acebe3c06eeb2f5718e81378 (patch)
treebcff34e486d020333e9ee40450733f04de0a1180 /src
parenta90f7246c1068b26411cc04c2ff28d872580beae (diff)
Update comment : change issue 97 to issue 104
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@123 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src')
-rw-r--r--src/classes/win32/javax/media/j3d/NativeConfigTemplate3D.java2
-rw-r--r--src/native/ogl/Canvas3D.c4
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");