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:
gregory.hainaut 2013-01-11 13:54:15 +00:00
parent ddbad1315b
commit f82421eaf7
1 changed files with 3 additions and 2 deletions

View File

@ -69,6 +69,7 @@ bool GSWndWGL::CreateContext(int major, int minor)
wglDeleteContext(m_context); wglDeleteContext(m_context);
m_context = context30; m_context = context30;
fprintf(stderr, "3.x GL context successfully created\n");
} }
#if 0 #if 0
@ -153,8 +154,8 @@ bool GSWndWGL::Attach(void* handle, bool managed)
if (!OpenWGLDisplay()) return false; if (!OpenWGLDisplay()) return false;
// FIXME: debug purpose // FIXME: debug purpose
if (!CreateContext(2, 0)) return false; //if (!CreateContext(2, 0)) return false;
//if (!CreateContext(3, 3)) return false; if (!CreateContext(3, 3)) return false;
AttachContext(); AttachContext();