mirror of https://github.com/PCSX2/pcsx2.git
gsdx ogl linux: use OGL renderer by default otherwise it fallback to unsupported GSDeviceNull which badly crash
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5807 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
5309dd0e59
commit
b5cad8bd6a
|
@ -416,7 +416,13 @@ static int _GSopen(void** dsp, char* title, int renderer, int threads = -1)
|
|||
|
||||
EXPORT_C_(int) GSopen2(void** dsp, uint32 flags)
|
||||
{
|
||||
#ifdef _LINUX
|
||||
// Use ogl renderer as default otherwise it crash at startup
|
||||
// GSRenderOGL only GSDeviceOGL (not GSDeviceNULL)
|
||||
int renderer = theApp.GetConfig("renderer", 12);
|
||||
#else
|
||||
int renderer = theApp.GetConfig("renderer", 0);
|
||||
#endif
|
||||
|
||||
if(flags & 4)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue