diff options
Diffstat (limited to 'src/core/context.cpp')
-rw-r--r-- | src/core/context.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/context.cpp b/src/core/context.cpp index 891a96e..5f2071e 100644 --- a/src/core/context.cpp +++ b/src/core/context.cpp @@ -8,12 +8,9 @@ void cl_destroy_context( struct pipe_context *context ) FREE(clcontext); } -struct pipe_context *cl_create_context( struct pipe_winsys *winsys ) +struct pipe_context *cl_create_context() { struct _cl_context *cl_context = CALLOC_STRUCT(_cl_context); - cl_context->pipe.winsys = winsys; - cl_context->pipe.destroy = cl_destroy_context; - return &cl_context->pipe; } |