mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -05:00
cookbook: Modified COGL example for consistency
Changed the stage size so the COGL API example for cross-fade has a stage the same size as the two texture example.
This commit is contained in:
parent
e54d3e716b
commit
c492faecb2
@ -139,7 +139,7 @@ main (int argc, char *argv[])
|
|||||||
*/
|
*/
|
||||||
ClutterActor *stage = clutter_stage_get_default ();
|
ClutterActor *stage = clutter_stage_get_default ();
|
||||||
clutter_stage_set_title (CLUTTER_STAGE (stage), "cross-fade");
|
clutter_stage_set_title (CLUTTER_STAGE (stage), "cross-fade");
|
||||||
clutter_actor_set_size (stage, 600, 600);
|
clutter_actor_set_size (stage, 400, 300);
|
||||||
clutter_actor_show (stage);
|
clutter_actor_show (stage);
|
||||||
g_signal_connect (stage, "destroy", G_CALLBACK (clutter_main_quit), NULL);
|
g_signal_connect (stage, "destroy", G_CALLBACK (clutter_main_quit), NULL);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user