[Cogl] [PATCH 3/4] cogl-winsys-sdl: Fix the signature for the get_proc_address method

Robert Bragg robert at sixbynine.org
Wed Aug 1 01:49:04 PDT 2012


This looks good to land to me.

Reviewed-by: Robert Bragg <robert at linux.intel.com>

thanks,
- Robert

On Tue, Jul 31, 2012 at 3:15 PM, Neil Roberts <neil at linux.intel.com> wrote:
> This function should take an extra third paramter to specify whether
> the procedure is in core or not. The parameter is not used so this
> patch just fixes an annoying warning.
> ---
>  cogl/winsys/cogl-winsys-sdl.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/cogl/winsys/cogl-winsys-sdl.c b/cogl/winsys/cogl-winsys-sdl.c
> index 3e87966..9d27984 100644
> --- a/cogl/winsys/cogl-winsys-sdl.c
> +++ b/cogl/winsys/cogl-winsys-sdl.c
> @@ -53,7 +53,8 @@ typedef struct _CoglDisplaySdl
>
>  static CoglFuncPtr
>  _cogl_winsys_renderer_get_proc_address (CoglRenderer *renderer,
> -                                        const char *name)
> +                                        const char *name,
> +                                        CoglBool in_core)
>  {
>    /* XXX: It's not totally clear whether it's safe to call this for
>     * core functions. From the code it looks like the implementations
> --
> 1.7.11.3.g3c3efa5
>
> _______________________________________________
> Cogl mailing list
> Cogl at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/cogl


More information about the Cogl mailing list