[PATCH] wined3d: Store the cursor texture in a local variable in swapchain_gl_present().