From 2162c6f30fe20c4aae00e717b087c5383accf09e Mon Sep 17 00:00:00 2001 From: Chien Yang Date: Fri, 6 Oct 2006 18:07:05 +0000 Subject: Fixed a typo. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@713 ba19aa83-45c5-6ac9-afd3-db810772062c --- src/native/ogl/Canvas3D.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3