wined3d: Use the command stream state in swapchain_gl_present().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Henri Verbeet 2017-02-28 06:12:00 +01:00 committed by Alexandre Julliard
parent a7809706bb
commit b7f0d3312e
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ static void swapchain_gl_present(struct wined3d_swapchain *swapchain,
const RECT *src_rect, const RECT *dst_rect, DWORD flags)
{
struct wined3d_texture *back_buffer = swapchain->back_buffers[0];
const struct wined3d_fb_state *fb = &swapchain->device->fb;
const struct wined3d_fb_state *fb = &swapchain->device->cs->fb;
const struct wined3d_gl_info *gl_info;
struct wined3d_texture *logo_texture;
struct wined3d_context *context;