fix for issue 679

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2529 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman 2009-03-02 21:34:18 +00:00
parent 44ada0c514
commit f30410a9a1
1 changed files with 2 additions and 1 deletions

View File

@ -143,7 +143,8 @@ bool Renderer::Init()
INFO_LOG(VIDEO, ptoken); // write to the log file
INFO_LOG(VIDEO, "\n");
if (GLEW_EXT_blend_func_separate && GLEW_EXT_blend_equation_separate)
if (strstr(ptoken, "GL_EXT_blend_func_separate") != NULL && strstr(ptoken,
"GL_EXT_blend_equation_separate") != NULL)
g_bBlendSeparate = true;
// Checks if it ONLY has the ATI_draw_buffers extension, some have both
if (GLEW_ATI_draw_buffers && !GLEW_ARB_draw_buffers)