[Cogl] [PATCH 2/4] Update the cogl_sdl_context_new() code snippet

Robert Bragg robert at sixbynine.org
Wed Jun 20 03:37:37 PDT 2012


looks good to land, thanks.

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

On Wed, May 30, 2012 at 11:47 AM, Damien Lespiau
<damien.lespiau at gmail.com> wrote:
> From: Damien Lespiau <damien.lespiau at intel.com>
>
> The first argument has been removed from the function. Update the
> example accordingly.
> ---
>  cogl/cogl-sdl.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/cogl/cogl-sdl.h b/cogl/cogl-sdl.h
> index bf2eafa..eb7e967 100644
> --- a/cogl/cogl-sdl.h
> +++ b/cogl/cogl-sdl.h
> @@ -49,7 +49,7 @@ G_BEGIN_DECLS
>  * MyAppData data;
>  * GError *error = NULL;
>  *
> - * data.ctx = cogl_sdl_context_new (NULL, SDL_USEREVENT, &error);
> + * data.ctx = cogl_sdl_context_new (SDL_USEREVENT, &error);
>  * if (!data.ctx)
>  *   {
>  *     fprintf (stderr, "Failed to create context: %s\n",
> --
> 1.7.7.5
>
> _______________________________________________
> Cogl mailing list
> Cogl at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/cogl


More information about the Cogl mailing list