mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +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
|
@ -438,6 +438,11 @@ Renderer::Renderer()
|
|||
cgGLSetOptimalOptions(g_cgfProf);
|
||||
}
|
||||
}
|
||||
#else
|
||||
// If we don't have Nvidia CG, we HAVE to use GLSL
|
||||
g_Config.bUseGLSL = true;
|
||||
|
||||
UpdateActiveConfig();
|
||||
#endif // HAVE_CG
|
||||
|
||||
int nenvvertparams, nenvfragparams, naddrregisters[2];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue