mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
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>
This commit is contained in:
parent
b61b328f51
commit
0205a96efb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user