[PATCH 1/2] wined3d: Factor out wined3d_context_gl_create_wgl() function.