mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
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:
parent
0257a9591f
commit
829aafce98
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user