aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/ogl
diff options
context:
space:
mode:
Diffstat (limited to 'src/native/ogl')
-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