Remove some warnings in ProgramShadercache, Was using wrong variable for checking dual source blending.

This commit is contained in:
Ryan Houdek
2011-12-26 03:54:44 -06:00
committed by Sonicadvance1
parent 4c1fef8f98
commit 4cd748bbec
3 changed files with 4 additions and 4 deletions

View File

@ -170,7 +170,7 @@ void VertexManager::vFlush()
&& bpmem.zcontrol.pixel_format == PIXELFMT_RGBA6_Z24;
// Makes sure we can actually do Dual source blending
bool dualSourcePossible = g_ActiveConfig.bUseGLSL && g_ActiveConfig.backend_info.bSupportsGLSLATTRBind;
bool dualSourcePossible = g_ActiveConfig.bUseGLSL && g_ActiveConfig.backend_info.bSupportsGLSLBind;
// finally bind
FRAGMENTSHADER* ps;