From 829aafce9855f29a8c6fc9497ac41c1218fb72ed Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Mon, 28 May 2012 14:49:35 +0100 Subject: [PATCH] Update the cogl_sdl_context_new() code snippet The first argument has been removed from the function. Update the example accordingly. Reviewed-by: Robert Bragg (cherry picked from commit 06e47af3144565bdf85abf8ae561c7ceeafa2cbc) --- cogl/cogl-sdl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogl/cogl-sdl.h b/cogl/cogl-sdl.h index 0a3c4632e..e0f4f4c90 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",