From 5c3c231be2c4bfdc8a1e2d42e585eaa0da9d394c Mon Sep 17 00:00:00 2001 From: Chien Yang Date: Wed, 11 Oct 2006 22:39:06 +0000 Subject: Fixed a previous change that broke Cg build. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@716 ba19aa83-45c5-6ac9-afd3-db810772062c --- src/native/ogl/CgShaderProgram.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/native') diff --git a/src/native/ogl/CgShaderProgram.c b/src/native/ogl/CgShaderProgram.c index 0f8d380..bd51b60 100644 --- a/src/native/ogl/CgShaderProgram.c +++ b/src/native/ogl/CgShaderProgram.c @@ -66,9 +66,19 @@ Java_javax_media_j3d_NativePipeline_loadNativeCgLibrary( jobject thiz, jobjectArray libpath) { - CgWrapperInfo *cgWrapperInfo; + CgWrapperInfo *cgWrapperInfo; + +#ifdef COMPILE_CG_SHADERS + int i, pathLen; char *errName = NULL; +#ifdef WIN32 + DWORD err; + LPTSTR errString; + UINT origErrorMode; +#endif /* WIN32 */ + +#endif /* COMPILE_CG_SHADERS */ /* * This method is called exactly once to load and initialize the -- cgit v1.2.3