add option to create opengl core context
This commit is contained in:
parent
3b69255158
commit
1186c9cc00
3 changed files with 8 additions and 0 deletions
|
@ -214,6 +214,11 @@ void oglu_init()
|
|||
g_oglu_got_version3 = FALSE;
|
||||
wglCreateContextAttribsARB = (PFNWGLCREATECONTEXTATTRIBSARBPROC)xwglGetProcAddress("wglCreateContextAttribsARB");
|
||||
}
|
||||
|
||||
if (g_ddraw->opengl_core)
|
||||
{
|
||||
wglCreateContextAttribsARB = (PFNWGLCREATECONTEXTATTRIBSARBPROC)xwglGetProcAddress("wglCreateContextAttribsARB");
|
||||
}
|
||||
}
|
||||
|
||||
BOOL oglu_ext_exists(char* ext, HDC hdc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue