[cogl] Update the cogl_sdl_context_new() code snippet
- From: Damien Lespiau <dlespiau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl] Update the cogl_sdl_context_new() code snippet
- Date: Wed, 20 Jun 2012 13:04:39 +0000 (UTC)
commit 06e47af3144565bdf85abf8ae561c7ceeafa2cbc
Author: Damien Lespiau <damien lespiau intel com>
Date: Mon May 28 14:49:35 2012 +0100
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>
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 0a3c463..e0f4f4c 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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]