[PATCH 1/3] wined3d: Factor out wined3d_texture_gl_upload_bo() function.