gsdx ogl: new option for free driver

reduce_gl_requirement_for_free_driver => set it to 1 to only required a 3.0 context (you still required the good extensions)



git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5910 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut 2014-02-22 16:12:42 +00:00
parent 44d43495a7
commit 5af621056a
1 changed files with 4 additions and 1 deletions

View File

@ -138,7 +138,10 @@ bool GSWndOGL::Attach(void* handle, bool managed)
m_NativeDisplay = XOpenDisplay(NULL);
CreateContext(3, 3);
if (theApp.GetConfig("reduce_gl_requirement_for_free_driver", 0) == 1)
CreateContext(3, 0);
else
CreateContext(3, 3);
AttachContext();