mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-26 16:56:19 +00:00
Changed: #947 enable bloom on mac (commented hardcoded "not for mac" gl ext stuff)
This commit is contained in:
parent
d1d248def0
commit
b9e7923226
1 changed files with 18 additions and 12 deletions
|
@ -620,10 +620,12 @@ static bool setupATITextureEnvCombine3(const char *glext)
|
|||
{
|
||||
H_AUTO_OGL(setupATITextureEnvCombine3);
|
||||
|
||||
#ifdef NL_OS_MAC
|
||||
// Water doesn't render on GeForce 8600M GT (on MAC OS X) if this extension is enabled
|
||||
return false;
|
||||
#endif
|
||||
// reenabled to allow bloom on mac, TODO: cleanly fix the water issue
|
||||
// i think this issue was mtp target related - is this the case in ryzom too?
|
||||
// #ifdef NL_OS_MAC
|
||||
// // Water doesn't render on GeForce 8600M GT (on MAC OS X) if this extension is enabled
|
||||
// return false;
|
||||
// #endif
|
||||
|
||||
CHECK_EXT("GL_ATI_texture_env_combine3");
|
||||
return true;
|
||||
|
@ -671,10 +673,12 @@ static bool setupNVVertexProgram(const char *glext)
|
|||
{
|
||||
H_AUTO_OGL(setupNVVertexProgram);
|
||||
|
||||
#ifdef NL_OS_MAC
|
||||
// Water doesn't render on GeForce 8600M GT (on MAC OS X) if this extension is enabled
|
||||
return false;
|
||||
#endif
|
||||
// reenabled to allow bloom on mac, TODO: cleanly fix the water issue
|
||||
// i think this issue was mtp target related - is this the case in ryzom too?
|
||||
// #ifdef NL_OS_MAC
|
||||
// // Water doesn't render on GeForce 8600M GT (on MAC OS X) if this extension is enabled
|
||||
// return false;
|
||||
// #endif
|
||||
|
||||
CHECK_EXT("GL_NV_vertex_program");
|
||||
CHECK_ADDRESS(NEL_PFNGLAREPROGRAMSRESIDENTNVPROC, glAreProgramsResidentNV);
|
||||
|
@ -882,10 +886,12 @@ static bool setupNVTextureShader(const char *glext)
|
|||
{
|
||||
H_AUTO_OGL(setupNVTextureShader);
|
||||
|
||||
#ifdef NL_OS_MAC
|
||||
// Water doesn't render on GeForce 8600M GT (on MAC OS X) if this extension is enabled
|
||||
return false;
|
||||
#endif
|
||||
// reenabled to allow bloom on mac, TODO: cleanly fix the water issue
|
||||
// i think this issue was mtp target related - is this the case in ryzom too?
|
||||
// #ifdef NL_OS_MAC
|
||||
// // Water doesn't render on GeForce 8600M GT (on MAC OS X) if this extension is enabled
|
||||
// return false;
|
||||
// #endif
|
||||
|
||||
CHECK_EXT("GL_NV_texture_shader");
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue