diff options
author | Robert Bragg <robert@linux.intel.com> | 2012-04-10 19:11:25 +0100 |
---|---|---|
committer | Neil Roberts <neil@linux.intel.com> | 2012-04-16 18:47:11 +0100 |
commit | 834b19767b74bd74f7a3653c376535a672fc1625 (patch) | |
tree | 6f8b681c4d0bdc6251e1f84c99e86804d29542df | |
parent | 70baa013d18e7473c71b9ee25d6f240b525b9bda (diff) | |
download | cogl-834b19767b74bd74f7a3653c376535a672fc1625.tar.gz |
cogl-crate: remove redundant g_type_init
Cogl internally will call g_type_init if necessary so the cogl-crate
example doesn't need to do this explicitly.
Reviewed-by: Neil Roberts <neil@linux.intel.com>
(cherry picked from commit 0205a96efbbd78e018710211ca5dd75f613c9b3e)
-rw-r--r-- | examples/cogl-crate.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/cogl-crate.c b/examples/cogl-crate.c index 969dc5c8..61b9cae0 100644 --- a/examples/cogl-crate.c +++ b/examples/cogl-crate.c @@ -151,8 +151,6 @@ main (int argc, char **argv) CoglDepthState depth_state; gboolean has_swap_notify; - g_type_init (); - ctx = cogl_context_new (NULL, &error); if (!ctx) { fprintf (stderr, "Failed to create context: %s\n", error->message); |