aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChien Yang <[email protected]>2006-10-11 22:39:06 +0000
committerChien Yang <[email protected]>2006-10-11 22:39:06 +0000
commit5c3c231be2c4bfdc8a1e2d42e585eaa0da9d394c (patch)
treed7a9e66a23a24475942ea0fd7cb98c3295b3063f
parenta1601b3d1b38533127ce290aaf5e197f002748d5 (diff)
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
-rw-r--r--src/native/ogl/CgShaderProgram.c12
1 files changed, 11 insertions, 1 deletions
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