[Mesa-dev] [PATCH 4/5] gallium/st: Move st_api creation to st and extern "C" it
Emil Velikov
emil.l.velikov at gmail.com
Fri May 15 08:40:58 PDT 2015
On 14/05/15 22:39, Alexander von Gluck IV wrote:
> ---
> src/gallium/state_trackers/hgl/hgl.c | 16 ++++++++++++----
> src/gallium/state_trackers/hgl/hgl_context.h | 14 ++++++++++----
> 2 files changed, 22 insertions(+), 8 deletions(-)
>
> diff --git a/src/gallium/state_trackers/hgl/hgl.c b/src/gallium/state_trackers/hgl/hgl.c
> index 77f7c22..1e804c0 100644
> --- a/src/gallium/state_trackers/hgl/hgl.c
> +++ b/src/gallium/state_trackers/hgl/hgl.c
> @@ -258,6 +258,14 @@ hgl_create_st_framebuffer(struct hgl_context* context)
> }
>
>
> +struct st_api*
> +hgl_create_st_api()
> +{
> + CALLED();
> + return st_gl_api_create();
> +}
> +
> +
I might be a sucker for simplicity, yet it seems clearer to split this
(and the actual usage of it) into a separate patch.
-Emil
More information about the mesa-dev
mailing list