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 <robert@linux.intel.com>

(cherry picked from commit 06e47af3144565bdf85abf8ae561c7ceeafa2cbc)
This commit is contained in:
Damien Lespiau 2012-05-28 14:49:35 +01:00 committed by Robert Bragg
parent 0257a9591f
commit 829aafce98

View File

@ -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",