use glBlendFuncSeparate for 50% correct dest alpha

This commit is contained in:
Glenn Maynard
2007-02-24 13:03:35 +00:00
parent 033becc25f
commit d5542f24cf
3 changed files with 10 additions and 1 deletions
@@ -129,6 +129,9 @@ void GLExt_t::Load( LowLevelWindow *pWind )
LoadAllOrNothing( funcs, pWind);
}
if( HasExtension("GL_EXT_blend_func_separate") )
glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC) pWind->GetProcAddress("glBlendFuncSeparate");
if( HasExtension("GL_EXT_blend_subtract") )
glBlendEquation = (PFNGLBLENDEQUATIONPROC) pWind->GetProcAddress("glBlendEquation");