mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
46838ca4ee
commit
7cdb9fc2f2
|
@ -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)
|
||||||
|
|
|
@ -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];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue