gsdx: fix some Visual Studio build error of the previous merge.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5187 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut 2012-04-28 17:58:45 +00:00
parent 46838ca4ee
commit 7cdb9fc2f2
2 changed files with 3 additions and 1 deletions

View File

@ -246,7 +246,9 @@ static int _GSopen(void** dsp, char* title, int renderer, int threads = -1)
case 2: dev = new GSDeviceSDL(); break; case 2: dev = new GSDeviceSDL(); break;
#endif #endif
case 3: dev = new GSDeviceNull(); break; case 3: dev = new GSDeviceNull(); break;
#ifdef _LINUX
case 4: dev = new GSDeviceOGL(); break; case 4: dev = new GSDeviceOGL(); break;
#endif
} }
if(dev == NULL) if(dev == NULL)

View File

@ -33,7 +33,7 @@ public:
{ {
m_base = _aligned_malloc(sizeof(Vertex) * countof(m_v), 32); m_base = _aligned_malloc(sizeof(Vertex) * countof(m_v), 32);
for(uint i = 0; i < countof(m_v); i++) for(unsigned int i = 0; i < countof(m_v); i++)
{ {
m_v[i] = &((Vertex*)m_base)[i]; m_v[i] = &((Vertex*)m_base)[i];
} }