mirror of https://github.com/PCSX2/pcsx2.git
gsdx-ogl-wnd: really create a 3.0GL context
git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5508 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
ddbad1315b
commit
f82421eaf7
|
@ -69,6 +69,7 @@ bool GSWndWGL::CreateContext(int major, int minor)
|
|||
wglDeleteContext(m_context);
|
||||
|
||||
m_context = context30;
|
||||
fprintf(stderr, "3.x GL context successfully created\n");
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
@ -153,8 +154,8 @@ bool GSWndWGL::Attach(void* handle, bool managed)
|
|||
if (!OpenWGLDisplay()) return false;
|
||||
|
||||
// FIXME: debug purpose
|
||||
if (!CreateContext(2, 0)) return false;
|
||||
//if (!CreateContext(3, 3)) return false;
|
||||
//if (!CreateContext(2, 0)) return false;
|
||||
if (!CreateContext(3, 3)) return false;
|
||||
|
||||
AttachContext();
|
||||
|
||||
|
|
Loading…
Reference in New Issue