Commit 5546f291 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Get D3D and GL info from context in create_dummy_textures().

parent aa955a80
......@@ -610,9 +610,9 @@ out:
/* Context activation is done by the caller. */
static void create_dummy_textures(struct wined3d_device *device, struct wined3d_context *context)
{
const struct wined3d_d3d_info *d3d_info = &device->adapter->d3d_info;
const struct wined3d_gl_info *gl_info = &device->adapter->gl_info;
struct wined3d_dummy_textures *textures = &device->dummy_textures;
const struct wined3d_d3d_info *d3d_info = context->d3d_info;
const struct wined3d_gl_info *gl_info = context->gl_info;
unsigned int i;
DWORD color;
......
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