gsdx-ogl-wnd: ooups

git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5521 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut 2013-01-17 17:14:33 +00:00
parent 36f8dda3fe
commit e6e18607e0
1 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ bool GSWndWGL::CreateContext(int major, int minor)
// GL2 context are quite easy but we need GL3 which is another painful story...
if (!(m_context = wglCreateContext(m_NativeDisplay))) {
fprinf(stderr, "Failed to create a 2.0 context\n");
fprintf(stderr, "Failed to create a 2.0 context\n");
return false;
}
@ -63,13 +63,13 @@ bool GSWndWGL::CreateContext(int major, int minor)
PFNWGLCREATECONTEXTATTRIBSARBPROC wglCreateContextAttribsARB = (PFNWGLCREATECONTEXTATTRIBSARBPROC)wglGetProcAddress("wglCreateContextAttribsARB");
if (!wglCreateContextAttribsARB) {
fprinf(stderr, "Failed to init wglCreateContextAttribsARB function pointer\n");
fprintf(stderr, "Failed to init wglCreateContextAttribsARB function pointer\n");
return false;
}
HGLRC context30 = wglCreateContextAttribsARB(m_NativeDisplay, NULL, context_attribs);
if (!context30) {
fprinf(stderr, "Failed to create a 3.x context\n");
fprintf(stderr, "Failed to create a 3.x context\n");
return false;
}