Commit 0abb6b94 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Avoid surface_from_resource() in device_load_logo().

parent f820c094
......@@ -665,7 +665,7 @@ static void device_load_logo(struct wined3d_device *device, const char *filename
struct wined3d_surface *surface;
/* Fill the surface with a white color to show that wined3d is there */
surface = surface_from_resource(wined3d_texture_get_sub_resource(device->logo_texture, 0));
surface = device->logo_texture->sub_resources[0].u.surface;
surface_color_fill(surface, &rect, &c);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment