mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
If CG isn't available, still compile and fallback on GLSL
This commit is contained in:
parent
7c91476650
commit
189d12b61c
4 changed files with 13 additions and 3 deletions
|
@ -113,10 +113,9 @@ bool OpenGL_ReportFBOError(const char *function, const char *file, int line);
|
|||
#define GL_REPORT_PROGRAM_ERROR() (void)0
|
||||
#endif
|
||||
|
||||
#if defined __APPLE__ || defined __linux__ || defined _WIN32
|
||||
#if HAVE_CG && (defined __APPLE__ || defined __linux__ || defined _WIN32)
|
||||
#include <Cg/cg.h>
|
||||
#include <Cg/cgGL.h>
|
||||
#define HAVE_CG 1
|
||||
extern CGcontext g_cgcontext;
|
||||
extern CGprofile g_cgvProf, g_cgfProf;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue