mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
Remove cogl_context_set_default API
For cogl 2.0 we don't want to have a default context. In the meantime we can simply assume that calling cogl_context_new() implicitly sets that context as the default context before returning. Signed-off-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
@ -104,9 +104,6 @@ main (int argc, char **argv)
|
||||
fprintf (stderr, "Failed to create context: %s\n", error->message);
|
||||
return 1;
|
||||
}
|
||||
/* Eventually we want to get rid of any "default context" but for now it's
|
||||
* needed... */
|
||||
cogl_set_default_context (ctx);
|
||||
|
||||
onscreen = cogl_onscreen_new (ctx, 640, 480);
|
||||
|
||||
|
Reference in New Issue
Block a user