OpenCL: added opencl=true option to scons and fixed the case on the way.

Add ifdef for osx ocl include.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4348 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2009-09-30 06:49:08 +00:00
parent aa1fd81e37
commit ffe12ec752
4 changed files with 41 additions and 18 deletions

View File

@ -78,7 +78,7 @@ public:
}
size_t index = 0;
for (index; index < m_Entries.size() - 1; index++)
for (; index < m_Entries.size() - 1; index++)
{
if (strcmp(m_Entries.at(index).name, sectionName) == 0)
break;
@ -99,7 +99,7 @@ public:
return false;
size_t index = 0;
for (index; index < m_Entries.size() - 1; index++)
for (; index < m_Entries.size() - 1; index++)
{
if (strcmp(m_Entries.at(index).name, sectionName) == 0)
break;