mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Some ATI cards have both ATI_draw_buffers AND ARB_draw_buffers, if both, go with ARB_draw_buffers
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@507 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
eb150f3114
commit
2ab88e167e
2 changed files with 4 additions and 2 deletions
|
@ -86,7 +86,8 @@ bool Renderer::Create2()
|
|||
|
||||
if( strstr(ptoken, "GL_EXT_blend_logic_op") != NULL )
|
||||
g_bBlendLogicOp = true;
|
||||
if( strstr(ptoken, "ATI_draw_buffers") != NULL )
|
||||
if( strstr(ptoken, "ATI_draw_buffers") != NULL && strstr(ptoken, "ARB_draw_buffers") == NULL)
|
||||
//Checks if it ONLY has the ATI_draw_buffers extension, some have both
|
||||
s_bATIDrawBuffers = true;
|
||||
|
||||
s_bFullscreen = g_Config.bFullscreen;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue