diff options
author | Chien Yang <[email protected]> | 2006-10-06 18:07:05 +0000 |
---|---|---|
committer | Chien Yang <[email protected]> | 2006-10-06 18:07:05 +0000 |
commit | 2162c6f30fe20c4aae00e717b087c5383accf09e (patch) | |
tree | a93d2b4d83fca04e250d1e785125ba1c20079904 /src/native/ogl | |
parent | 394342138a29a5072786e0a3d5277e21a28bdcb4 (diff) |
Fixed a typo.
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@713 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src/native/ogl')
-rw-r--r-- | src/native/ogl/Canvas3D.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/native/ogl/Canvas3D.c b/src/native/ogl/Canvas3D.c index 1e41934..026d17d 100644 --- a/src/native/ogl/Canvas3D.c +++ b/src/native/ogl/Canvas3D.c @@ -1147,7 +1147,7 @@ jlong JNICALL Java_javax_media_j3d_NativePipeline_createNewContext( } } - if (SetPixelFormat(hdc, pixelFormat, NULL)) { + if (SetPixelFormat(hdc, PixelFormatID, NULL)) { printErrorMessage("Canvas3D_createNewContext: Failed in SetPixelFormat"); return 0; } |