summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2012-05-28 14:49:35 +0100
committerRobert Bragg <robert@linux.intel.com>2012-08-06 14:27:45 +0100
commit829aafce9855f29a8c6fc9497ac41c1218fb72ed (patch)
tree690ccbfa3913dd6121189bafcb0bccbfc3845354
parent0257a9591f5c3af661e85c0783532b4ddbb46147 (diff)
downloadcogl-829aafce9855f29a8c6fc9497ac41c1218fb72ed.tar.gz
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)
-rw-r--r--cogl/cogl-sdl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/cogl-sdl.h b/cogl/cogl-sdl.h
index 0a3c4632..e0f4f4c9 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",