update cg to 2.1.0.17

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2471 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman
2009-02-28 17:22:08 +00:00
parent 6dc4194767
commit bebd610c9f
16 changed files with 52 additions and 20 deletions

15
Externals/Cg/cgGL.h vendored
View File

@ -1,6 +1,6 @@
/*
*
* Copyright (c) 2002-2007, NVIDIA Corporation.
* Copyright (c) 2002-2009, NVIDIA Corporation.
*
*
*
@ -71,13 +71,15 @@
/* Set up for either Win32 import/export/lib. */
#ifndef CGGL_API
# ifdef _WIN32
# ifdef CGGL_EXPORTS
# ifdef CGGL_EXPORTS
# ifdef _WIN32
# define CGGL_API __declspec(dllexport)
# elif defined (CG_LIB)
# define CGGL_API
# elif defined(__GNUC__) && __GNUC__>=4
# define CGGL_API __attribute__ ((visibility("default")))
# elif defined(__SUNPRO_C) || defined(__SUNPRO_CC)
# define CGGL_API __global
# else
# define CGGL_API __declspec(dllimport)
# define CGGL_API
# endif
# else
# define CGGL_API
@ -144,6 +146,7 @@ CGGL_API void CGGLENTRY cgGLSetOptimalOptions(CGprofile profile);
*****************************************************************************/
CGGL_API void CGGLENTRY cgGLLoadProgram(CGprogram program);
CGGL_API void CGGLENTRY cgGLUnloadProgram(CGprogram program);
CGGL_API CGbool CGGLENTRY cgGLIsProgramLoaded(CGprogram program);
CGGL_API void CGGLENTRY cgGLBindProgram(CGprogram program);
CGGL_API void CGGLENTRY cgGLUnbindProgram(CGprofile profile);