wined3d: Call fixup_extensions before destroying the fake context.
This commit is contained in:
parent
d597fd12fc
commit
5709a0b4b6
|
@ -3397,10 +3397,11 @@ BOOL InitAdapters(void) {
|
|||
TRACE("iPixelFormat=%d, RGBA=%d/%d/%d/%d, depth=%d, stencil=%d\n", cfgs->iPixelFormat, cfgs->redSize, cfgs->greenSize, cfgs->blueSize, cfgs->alphaSize, cfgs->depthSize, cfgs->stencilSize);
|
||||
cfgs++;
|
||||
}
|
||||
WineD3D_ReleaseFakeGLContext();
|
||||
|
||||
fixup_extensions(&Adapters[0].gl_info);
|
||||
|
||||
WineD3D_ReleaseFakeGLContext();
|
||||
|
||||
select_shader_mode(&Adapters[0].gl_info, WINED3DDEVTYPE_HAL, &ps_selected_mode, &vs_selected_mode);
|
||||
select_shader_max_constants(ps_selected_mode, vs_selected_mode, &Adapters[0].gl_info);
|
||||
fillGLAttribFuncs(&Adapters[0].gl_info);
|
||||
|
|
Loading…
Reference in New Issue