[PATCH 3/4] wined3d: Avoid accessing gl_info in vertexdeclaration_init().