Commit 4adfe310 authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

wined3d: Get rid of an unnecessary assignment.

parent 7b2b4e03
...@@ -1409,7 +1409,6 @@ static void wined3d_unordered_access_view_gl_cs_init(void *object) ...@@ -1409,7 +1409,6 @@ static void wined3d_unordered_access_view_gl_cs_init(void *object)
struct wined3d_context_gl *context_gl; struct wined3d_context_gl *context_gl;
context_gl = wined3d_context_gl(context_acquire(resource->device, NULL, 0)); context_gl = wined3d_context_gl(context_acquire(resource->device, NULL, 0));
gl_info = context_gl->gl_info;
create_buffer_view(&view_gl->gl_view, &context_gl->c, desc, buffer, view_gl->v.format); create_buffer_view(&view_gl->gl_view, &context_gl->c, desc, buffer, view_gl->v.format);
if (desc->flags & (WINED3D_VIEW_BUFFER_COUNTER | WINED3D_VIEW_BUFFER_APPEND)) if (desc->flags & (WINED3D_VIEW_BUFFER_COUNTER | WINED3D_VIEW_BUFFER_APPEND))
{ {
......
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