summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/cg-common.cfg3
-rw-r--r--make/stub_includes/cg/CG/cg.h1
-rw-r--r--make/stub_includes/cg/CG/cgGL.h3
-rw-r--r--make/stub_includes/cg/CG/cg_errors.h5
4 files changed, 11 insertions, 1 deletions
diff --git a/make/cg-common.cfg b/make/cg-common.cfg
index 4e42ceb48..f264fb2bf 100644
--- a/make/cg-common.cfg
+++ b/make/cg-common.cfg
@@ -83,13 +83,14 @@ Ignore cgGetStateValidateCallback
# FIXME!!!! Ignore these functions for now because bugs in the
# emitter code can't handle them
#
-Ignore cgGetParameterValues
Ignore cgGetBooleanAnnotationValues
Ignore cgGetBoolStateAssignmentValues
Ignore cgGetFloatAnnotationValues
Ignore cgGetFloatStateAssignmentValues
Ignore cgGetIntAnnotationValues
Ignore cgGetIntStateAssignmentValues
+Ignore cgGetParameterValues
+Ignore cgGetProgramOptions
#
# Need to import New IO for Buffer classes
diff --git a/make/stub_includes/cg/CG/cg.h b/make/stub_includes/cg/CG/cg.h
index fe1cf2a75..9bc366216 100644
--- a/make/stub_includes/cg/CG/cg.h
+++ b/make/stub_includes/cg/CG/cg.h
@@ -224,6 +224,7 @@ CGDLL_API void cgCompileProgram(CGprogram program);
CGDLL_API CGbool cgIsProgramCompiled(CGprogram program);
CGDLL_API const char *cgGetProgramString(CGprogram prog, CGenum pname);
CGDLL_API CGprofile cgGetProgramProfile(CGprogram prog);
+CGDLL_API char const * const *cgGetProgramOptions(CGprogram prog);
CGDLL_API void cgSetProgramProfile(CGprogram prog, CGprofile profile);
CGDLL_API void cgSetPassProgramParameters(CGprogram);
diff --git a/make/stub_includes/cg/CG/cgGL.h b/make/stub_includes/cg/CG/cgGL.h
index b16861d15..f66ec0685 100644
--- a/make/stub_includes/cg/CG/cgGL.h
+++ b/make/stub_includes/cg/CG/cgGL.h
@@ -365,6 +365,9 @@ CGGLDLL_API GLenum cgGLGetTextureEnum(CGparameter param);
CGGLDLL_API void cgGLSetManageTextureParameters(CGcontext ctx, CGbool flag);
CGGLDLL_API CGbool cgGLGetManageTextureParameters(CGcontext ctx);
+CGGLDLL_API void cgGLSetupSampler(CGparameter param, GLuint texobj);
+CGGLDLL_API void cgGLRegisterStates(CGcontext);
+
#endif
#ifdef __cplusplus
diff --git a/make/stub_includes/cg/CG/cg_errors.h b/make/stub_includes/cg/CG/cg_errors.h
index c785da252..25c120a5a 100644
--- a/make/stub_includes/cg/CG/cg_errors.h
+++ b/make/stub_includes/cg/CG/cg_errors.h
@@ -343,5 +343,10 @@ CG_NON_NUMERIC_PARAMETER_ERROR=
CG_NON_NUMERIC_PARAMETER_ERROR,
"The parameter is not of a numeric type.")*/
+CG_ARRAY_SIZE_MISMATCH_ERROR=
+/*CG_ERROR_MACRO(*/53,/*
+ CG_ARRAY_SIZE_MISMATCH_ERROR,
+ "The specified array sizes are not compatible with the given array.")*/
+
//#undef CG_ERROR_MACRO